fix
Hedgehog_server_CI/ServerMonitorBot/pipeline/head This commit looks good Details
Hedgehog_server_CD/ServerMonitorBot/pipeline/head This commit looks good Details

pull/31/head
L_DelOff 2023-11-21 23:01:20 +03:00
parent 38a989e223
commit bac9f84092
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ pipeline {
SSH_PASS = credentials('ROCK_PI_5_SSH_PASS') SSH_PASS = credentials('ROCK_PI_5_SSH_PASS')
} }
stages { stages {
stage('Init container') {
steps {
sh 'apt-get update && apt-get install -y sshpass openssh-client'
}
}
stage('Build') { stage('Build') {
steps { steps {
sh 'mvn -B -DskipTests -X clean package spring-boot:repackage' sh 'mvn -B -DskipTests -X clean package spring-boot:repackage'