Commit 87d0ef64 authored by Muhammad Tehami's avatar Muhammad Tehami 💡

Remove stage block

parent 24c6b223
def call(String buildDirectory) { def call(String buildDirectory) {
stage('Build') { dir(buildDirectory) {
steps { sh 'mvn clean install'
dir(buildDirectory) {
sh 'mvn clean install'
}
}
} }
} }
\ No newline at end of file
#!/usr/bin/env groovy #!/usr/bin/env groovy
def call(body) { def call(body) {
stage('Checkout SCM') { checkout scm
steps {
checkout scm
}
}
return this return this
} }
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