From 2cd170ead7d9c25d4578620a0b2d5f04682fb5c3 Mon Sep 17 00:00:00 2001 From: Lorenzo Pagliai <lorenzo.pagliai@seco.com> Date: Tue, 21 Mar 2023 09:47:08 +0100 Subject: [PATCH] [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) --- manifest-pipeline-yocto.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 258f493..6aa35fc 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -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}" -- GitLab