Skip to content
Snippets Groups Projects
Commit e3080bd0 authored by OZGCloud's avatar OZGCloud
Browse files

Jenkinsfile config

parent a763e739
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,21 @@ pipeline {
}
}
stage('Build Docker image') {
steps {
script {
FAILED_STAGE=env.STAGE_NAME
}
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
dir('pluto-server') {
sh 'mvn -s $MAVEN_SETTINGS spring-boot:build-image -DskipTests -Dmaven.wagon.http.retryHandler.count=3'
}
}
}
}
stage('Tag and Push Docker image') {
steps {
script {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment