aboutsummaryrefslogtreecommitdiff
path: root/trigger-zephyr-upstream-arm.yaml
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-11-06 14:01:12 -0600
committerDaniel Díaz <daniel.diaz@linaro.org>2017-11-06 15:30:47 -0600
commita85d1092751a5bbe4d1d9eaa795993ce9a368c78 (patch)
tree941e6424c8aae02659ea1bcac9efb6692bc73919 /trigger-zephyr-upstream-arm.yaml
parenta09e27ead3932c938f8d8df0827cefc8471d6766 (diff)
zephyr-upstream: build specifically commit that triggered it
A timing issue was made evident with the extensive times it takes to go from the first to the last job in the matrix configuration: by the time the last job's turn is up, the Git repository may have changed already, and thus a different codebase would be built. To fix this, anchor against the GIT_REVISION that triggered the pipeline, by passing that revision as a parameter to the downstream jobs. Change-Id: I66f7ebff3e4b12da9280e4c56bde468c0f1e3659 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'trigger-zephyr-upstream-arm.yaml')
-rw-r--r--trigger-zephyr-upstream-arm.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/trigger-zephyr-upstream-arm.yaml b/trigger-zephyr-upstream-arm.yaml
index e571bbcc1f..111f784d3d 100644
--- a/trigger-zephyr-upstream-arm.yaml
+++ b/trigger-zephyr-upstream-arm.yaml
@@ -31,3 +31,4 @@
builders:
- trigger-builds:
- project: 'zephyr-upstream-arm'
+ predefined-parameters: GIT_REVISION=${GIT_REVISION}