14 lines
222 B
Groovy
14 lines
222 B
Groovy
pipeline {
|
|
agent any
|
|
options {
|
|
skipDefaultCheckout true
|
|
}
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
sh "git checkout -f ${env.BRANCH-NAME}"
|
|
|
|
}
|
|
}
|
|
}
|
|
} |