Commit 2f00bdbc authored by Marcelo Dalmao's avatar Marcelo Dalmao

Update Jenkinsfile

parent b3e17fc0
def gv
pipeline { pipeline {
agent any agent any
tools { stages {
maven 'maven-3.6' stage('Build'){
} }
stages { stage(Test){
stage("init") { }
steps { stage(Deploy){
script { }
gv = load "script.groovy" }
}
}
}
stage("build jar") {
steps {
script {
echo "building jar"
gv.buildJar()
}
}
}
stage("build image") {
steps {
script {
echo "building image"
gv.buildImage()
}
}
}
stage("deploy") {
steps {
script {
echo "deploying"
gv.deployApp()
}
}
}
}
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment