diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 258f493d67b2d8df0e33f6048bb0f47b238ff536..6aa35fce3890b7a82110455b7932bfdd0df56491 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}"