Skip to content
Snippets Groups Projects
Commit 2cd170ea authored by Lorenzo Pagliai's avatar Lorenzo Pagliai
Browse files

[BUILD BRANCH] Change rule in triggered on schedule build

* This change allows to build on schedule not only on the MASTER_BRANCH
but also on different branches (those on which the schedule is
programmed)
parent 01b07b00
No related branches found
No related tags found
No related merge requests found
......@@ -192,6 +192,9 @@ retrigger:
if [ ${CI_PIPELINE_SOURCE} == "pipeline" ]; then
BUILD_BRANCH="${CI_COMMIT_REF_NAME}"
fi
if [ ${CI_PIPELINE_SOURCE} == "schedule" ]; then
BUILD_BRANCH="${CI_COMMIT_BRANCH}"
fi
echo "This is the manifest repository URL used for the build: ${CI_REPOSITORY_URL}"
echo "This is the manifest branch used for the build: ${BUILD_BRANCH}"
echo "This is the board for which the build will be performed: ${BOARD}"
......
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