build docker stage
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit
Details
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit
Details
parent
7a0c2fde66
commit
ecfd0a9ae5
|
@ -11,14 +11,10 @@ pipeline {
|
||||||
sh 'mvn -B -DskipTests -X clean package'
|
sh 'mvn -B -DskipTests -X clean package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
|
||||||
steps {
|
|
||||||
sh 'mvn test'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Build docker') {
|
stage('Build docker') {
|
||||||
|
agent any
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn test'
|
sh 'docker build -t ldeloff/servermonitorbot:latest .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue