build docker stage
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit Details

pull/31/head
L_DelOff 2023-11-20 19:59:20 +03:00
parent 7a0c2fde66
commit ecfd0a9ae5
1 changed files with 2 additions and 6 deletions

8
Jenkinsfile vendored
View File

@ -11,14 +11,10 @@ pipeline {
sh 'mvn -B -DskipTests -X clean package'
}
}
stage('Test') {
steps {
sh 'mvn test'
}
}
stage('Build docker') {
agent any
steps {
sh 'mvn test'
sh 'docker build -t ldeloff/servermonitorbot:latest .'
}
}
}