adds missing jenkins function

This commit is contained in:
Eyck Jentzsch 2023-12-22 22:23:40 +01:00
parent cd6100bd47
commit 1d8120b43b

8
Jenkinsfile vendored
View File

@ -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',