diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2017-11-06 14:01:12 -0600 |
---|---|---|
committer | Daniel Díaz <daniel.diaz@linaro.org> | 2017-11-06 15:30:47 -0600 |
commit | a85d1092751a5bbe4d1d9eaa795993ce9a368c78 (patch) | |
tree | 941e6424c8aae02659ea1bcac9efb6692bc73919 /zephyr-upstream-arm.yaml | |
parent | a09e27ead3932c938f8d8df0827cefc8471d6766 (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 'zephyr-upstream-arm.yaml')
-rw-r--r-- | zephyr-upstream-arm.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr-upstream-arm.yaml b/zephyr-upstream-arm.yaml index 4ca3e2d075..00655889e1 100644 --- a/zephyr-upstream-arm.yaml +++ b/zephyr-upstream-arm.yaml @@ -32,6 +32,9 @@ - string: name: QA_SERVER default: 'https://qa-reports.linaro.org' + - string: + name: GIT_REVISION + default: '' disabled: false node: master child-workspace: . |