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

Remove stage block

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