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 { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'ls'
sh 'mvn -B -DskipTests -X clean package' sh 'mvn -B -DskipTests -X clean package'
} }
} }
stage('Build docker') { stage('Build docker') {
agent any
steps { steps {
sh 'ls'
sh 'ls target'
sh 'docker build -t ldeloff/servermonitorbot:latest .' sh 'docker build -t ldeloff/servermonitorbot:latest .'
} }
} }