Skip to content
Snippets Groups Projects
Commit 8dd341c4 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Correcting mis named squash_id

parent 78fd2b42
No related branches found
No related tags found
No related merge requests found
Pipeline #202865 failed
...@@ -60,7 +60,7 @@ variables: ...@@ -60,7 +60,7 @@ variables:
SQUASHFS_ID: ${CI_MERGE_REQUEST_IID} SQUASHFS_ID: ${CI_MERGE_REQUEST_IID}
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables: variables:
SQUASHFS_ID: ${CI_DEFAULT_BRANCH} SQUASHFS_ID: ${CI_COMMIT_BRANCH}
.parallel_job: .parallel_job:
extends: extends:
......
...@@ -33,12 +33,13 @@ else ...@@ -33,12 +33,13 @@ else
squash_base=main squash_base=main
fi fi
if [ "x${CI_MERGE_REQUEST_IID}" != "x" ] if [ "x${CI_MERGE_REQUEST_IID}" != "x" ]
then then
squash_id=${CI_MERGE_REQUEST_IID} squash_id=${CI_MERGE_REQUEST_IID}
elif [ "x${CI_COMMIT_BRANCH}" != "x" ] elif [ "x${CI_COMMIT_BRANCH}" != "x" ]
then then
squash_id=${CI_MERGE_REQUEST_IID} squash_id=${CI_COMMIT_BRANCH}
else else
squash_id="local" squash_id="local"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment