build docker stage
Hedgehog_server/ServerMonitorBot/pipeline/head This commit looks good Details

pull/31/head
L_DelOff 2023-11-20 20:08:55 +03:00
parent ead94bea2f
commit 3b505398e4
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -8,12 +8,14 @@ pipeline {
stages {
stage('Build') {
steps {
sh 'ls'
sh 'mvn -B -DskipTests -X clean package'
}
}
stage('Build docker') {
agent any
steps {
sh 'ls'
sh 'ls target'
sh 'docker build -t ldeloff/servermonitorbot:latest .'
}
}