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

Update Jenkinsfile

parent b3e17fc0
def gv
pipeline {
agent any
tools {
maven 'maven-3.6'
}
stages {
stage("init") {
steps {
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()
}
}
}
}
agent any
stages {
stage('Build'){
}
stage(Test){
}
stage(Deploy){
}
}
}
\ 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