We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PIPELINE_COMMIT_SHA
pipeline_variables
1 parent 7832985 commit 1f69dbfCopy full SHA for 1f69dbf
.gitlab/ci/pre_check.yml
@@ -142,6 +142,10 @@ pipeline_variables:
142
MR_MODIFIED_COMPONENTS=$(run_cmd python tools/ci/ci_get_mr_info.py components --modified-files $MODIFIED_FILES | tr '\n' ';')
143
echo "MR_MODIFIED_COMPONENTS=\"$MR_MODIFIED_COMPONENTS\"" >> pipeline.env
144
fi
145
+ - |
146
+ if [ -n "$PIPELINE_COMMIT_SHA" ]; then
147
+ echo "PIPELINE_COMMIT_SHA=$PIPELINE_COMMIT_SHA" >> pipeline.env
148
+ fi
149
- echo "OOCD_DISTRO_URL_ARMHF=$OOCD_DISTRO_URL_ARMHF" >> pipeline.env
150
- echo "OOCD_DISTRO_URL_ARM64=$OOCD_DISTRO_URL_ARM64" >> pipeline.env
151
- run_cmd idf-ci gitlab pipeline-variables >> pipeline.env
0 commit comments