mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-7143: survive / in branch names
This commit is contained in:
parent
115b2cf8e7
commit
a8500ed73e
@ -125,7 +125,7 @@ clean_vbox="${clean_vbox:-}"
|
|||||||
# while building with vbox, we need a quite unique appliance name in order to prevent conflicts with multiple
|
# while building with vbox, we need a quite unique appliance name in order to prevent conflicts with multiple
|
||||||
# concurrent executors on jenkins
|
# concurrent executors on jenkins
|
||||||
if [ -z "${branch}" ] ; then
|
if [ -z "${branch}" ] ; then
|
||||||
branch=`(git name-rev --no-undefined --name-only HEAD 2>/dev/null || echo unknown) | sed -e 's/remotes\/.*\///g'`
|
branch=`(git name-rev --no-undefined --name-only HEAD 2>/dev/null || echo unknown) | sed -e 's/remotes\/.*\///g' | sed -e 's|/|_|g'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
branch_tag=
|
branch_tag=
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user