build docker stage
Some checks failed
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit
Some checks failed
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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 .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user