adds missing jenkins function
This commit is contained in:
parent
cd6100bd47
commit
1d8120b43b
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,3 +1,11 @@
|
||||
def getBranch() {
|
||||
if (env.BRANCH_NAME != null && !env.BRANCH_NAME.isEmpty() ) {
|
||||
return env.BRANCH_NAME
|
||||
} else {
|
||||
return 'develop'
|
||||
}
|
||||
}
|
||||
|
||||
void checkout_project() {
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
|
Loading…
Reference in New Issue
Block a user