There are 2 scripts which create a file in int/dist which are sure to
fail if int/dist is not included in autorelease. We noticed this because
of Nitrogen work.
Change-Id: I7a7123c551b420f838b281c810dc1711ef5c90d2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
builders:
- integration-set-variables
- shell: |
+ #!/bin/bash
+ set +e # DO NOT fail build if copying fails.
+
if [ -d "integration/distribution/distributions" ]; then
cp -vf "$WORKSPACE/taglist.log" "integration/distribution/distributions/karaf/src/main/assembly/"
else
cp -vf "$WORKSPACE/taglist.log" "integration/distribution/$KARAF_ARTIFACT/src/main/assembly/"
fi
+ # DO NOT fail the build if copying failed.
+ exit 0
+
- builder:
name: autorelease-generate-release-patches
builders:
name: distribute-build-url
# Place URL of the current run of a build job to a file at given path.
builders:
- - shell: 'echo "$BUILD_URL" > {path}/build.url'
+ - shell: |
+ #!/bin/bash
+ set +e # DO NOT fail script if command returns non-zero.
+
+ echo "$BUILD_URL" > {path}/build.url
+
+ # DO NOT fail the build if the echo failed.
+ exit 0
- builder:
name: wipe-org-opendaylight-repo