Return back git commanhs
parent
1d63bb9da9
commit
be98e292c0
|
|
@ -15,6 +15,9 @@ set -e
|
|||
# only exit with zero if all commands of the pipeline exit successfully
|
||||
set -o pipefail
|
||||
|
||||
git branch
|
||||
git remote add origin https://github.com/eclipse-che/che-server.git
|
||||
git fetch
|
||||
git branch
|
||||
BRANCH_NAME=$(echo $SOURCE_REF | sed 's#refs/heads/##')
|
||||
PR_IMAGE_TAG=$(git show origin/pr-number-${BRANCH_NAME}:shared-files/pr-image-tag)
|
||||
|
|
|
|||
Loading…
Reference in New Issue