diff options
author | David Williams | 2016-03-13 21:44:47 +0000 |
---|---|---|
committer | David Williams | 2016-03-13 21:44:47 +0000 |
commit | 54170664b8d511c8cef175942e7b9b9d22b56f81 (patch) | |
tree | 5509a07e1dbeb9c39cb41a7fefa6546c2e7eca64 /production/bootstrapVariables.shsource | |
parent | b8844edce9192114f933d0b067196dfb7c955975 (diff) | |
download | eclipse.platform.releng.aggregator-54170664b8d511c8cef175942e7b9b9d22b56f81.tar.gz eclipse.platform.releng.aggregator-54170664b8d511c8cef175942e7b9b9d22b56f81.tar.xz eclipse.platform.releng.aggregator-54170664b8d511c8cef175942e7b9b9d22b56f81.zip |
[releng] Bug 487044 - changed to force our own definition of BUILD_ID
Otherwise, when trying to run on Hudson, we get it's BUILD_ID, which is
similar to 2016-03-13_17-12-03.
Diffstat (limited to 'production/bootstrapVariables.shsource')
-rw-r--r-- | production/bootstrapVariables.shsource | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/production/bootstrapVariables.shsource b/production/bootstrapVariables.shsource index 8277ce00c..363c62fe0 100644 --- a/production/bootstrapVariables.shsource +++ b/production/bootstrapVariables.shsource @@ -108,14 +108,18 @@ fn-build-dir () echo "aggDir was already defined as $aggDir" fi - if [[ -z "${BUILD_ID}" ]] - then +# NOTE: for now, we must always set BUILD_ID here, +# since if we try to run on Hudson, it gets's Hudson's +# version of BUILD_D which is like "2016-03-13_17-12-03" +# if [[ -z "${BUILD_ID}" ]] +# then BUILD_ID=$(fn-build-id "$BUILD_TYPE" ) assertNotEmpty BUILD_ID export BUILD_ID - else - echo "BUILD_ID was already defined as $BUILD_ID" - fi + echo "BUILD_ID was defined as $BUILD_ID" +# else +# echo "BUILD_ID was already defined as $BUILD_ID" +# fi if [[ -z "${buildDirectory}" ]] then |