From: Lasse Kaihlavirta Date: Mon, 9 Nov 2020 09:57:50 +0000 (+0200) Subject: Fix trigger path and improve docker tag X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8446b9d31494e75c2900f0f237ffad5484b9bfa5;p=ci-management.git Fix trigger path and improve docker tag - fix the files parameter (which translates into file path in final Jenkins configuration) for the gerrit trigger - use BUILD_TAG instead of BUILD_ID for docker tag to be passed Issue-ID: INT-1760 Signed-off-by: Lasse Kaihlavirta Change-Id: I4c0607e3ee0220cccecfd560dd6cd4cfb59de33f --- diff --git a/jjb/integration/integration-templates-csit.yaml b/jjb/integration/integration-templates-csit.yaml index 5df244258..c978753e8 100644 --- a/jjb/integration/integration-templates-csit.yaml +++ b/jjb/integration/integration-templates-csit.yaml @@ -168,20 +168,20 @@ - project: "{project-name}-{stream}-docker-golang-shell-daily" condition: UNSTABLE_OR_BETTER predefined-parameters: | - UNIQUE_DOCKER_TAG=$BUILD_ID + UNIQUE_DOCKER_TAG=$BUILD_TAG block: true - trigger-builds: - project: "{project-name}-{stream}-csit-{review-functionality}" condition: UNSTABLE_OR_BETTER predefined-parameters: | - UNIQUE_DOCKER_TAG=$BUILD_ID + UNIQUE_DOCKER_TAG=$BUILD_TAG block: true triggers: - gerrit-trigger-patch-submitted: server: '{server-name}' project: '{project}' branch: '{branch}' - files: '**/{project}/**' + files: '**' publishers: - lf-infra-publish