Skip to content
Snippets Groups Projects
Commit 9c043191 authored by Jens Georg's avatar Jens Georg
Browse files

Fix building from master

parent 39d61a50
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ def doPrepare(boolean checkoutScm, String gitUrl='') {
// Check out source code
if(checkoutScm) {
if(gitUrl != '') {
if (env.BRANCH_NAME != '') {
if (env.BRANCH_NAME && env.BRANCH_NAME != '') {
git branch: env.BRANCH_NAME, url: gitUrl
} else {
git gitUrl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment