Check to get content of variables

pull/494/head
Aleksandr Shmaraiev 2023-04-20 16:42:00 +03:00
parent 436d244bb5
commit 1cbef4b970
1 changed files with 10 additions and 0 deletions

View File

@ -21,6 +21,16 @@ cat ${SHARED_DIR}/console.url
echo "Content of custom-links.txt"
cat ${SHARED_DIR}/custom-links.txt
git remote add origin https://github.com/eclipse-che/che-server.git
git fetch
echo ${PULL_NUMBER}
echo ${PULL_BASE_REF}
echo ${PULL_BASE_SHA}
echo ${PULL_SOURCE_REF}
PR_COMMIT=$(echo ${PULL_PULL_SHA} | cut -c1-7)
BRANCH=$(git branch --contains ${PR_COMMIT})
BRANCH_NAME="che#21753"
PR_IMAGE_TAG=$(git show origin/pr-number-${BRANCH_NAME}:shared-files/pr-image-tag)