Change commands

pull/494/head
Aleksandr Shmaraiev 2023-04-19 11:02:42 +03:00
parent ae1a430dae
commit 1d63bb9da9
1 changed files with 2 additions and 3 deletions

View File

@ -15,9 +15,8 @@ set -e
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
git remote add origin https://github.com/eclipse-che/che-server.git
git fetch
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
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)
export CHE_NAMESPACE=${CHE_NAMESPACE:-"eclipse-che"}