mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-15 10:02:27 +01:00
Fixed on master for jenkins buildslave
This commit is contained in:
parent
fefddc0624
commit
5e717cbb89
@ -26,7 +26,14 @@ else
|
||||
fi
|
||||
|
||||
build_date=`date +%Y-%m-%d`
|
||||
branch=`git status | grep '# On branch' | awk '{print $4}'`
|
||||
|
||||
# set fixed or leave empty to use git to determine
|
||||
branch=master
|
||||
|
||||
if [ -z "$branch" ] ; then
|
||||
branch=`git status | grep '# On branch' | awk '{print $4}'`
|
||||
fi
|
||||
|
||||
if [ -z "$branch" ] ; then
|
||||
branch=unknown
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user