aboutsummaryrefslogtreecommitdiff
path: root/jdkX-ci-build.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jdkX-ci-build.yaml')
-rw-r--r--jdkX-ci-build.yaml23
1 files changed, 16 insertions, 7 deletions
diff --git a/jdkX-ci-build.yaml b/jdkX-ci-build.yaml
index 6a09a624d8..862cbda15a 100644
--- a/jdkX-ci-build.yaml
+++ b/jdkX-ci-build.yaml
@@ -68,16 +68,19 @@
which java
java -version
+ rm -rf out
+ mkdir out
+
pushd build
sh ../jdkX/configure --with-debug-level=fastdebug \
${ccache_build_opts} \
--with-jtreg=${WORKSPACE}/jtreg
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
+ make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native |& tee ../out/build.out
popd
+ # Take bottom 100 lines of build output, shift it right by two characters
+ tail -n 100 out/build.out | sed 's,^, ,' > build-tail.out
# Archive the result
- rm -rf out
- mkdir out
artifact_name=jdkX-ci-build
tar -C build/images/jdk --exclude=\*.diz --transform="s!^./!$artifact_name/!" -acf out/${artifact_name}.tar.gz .
@@ -85,12 +88,18 @@
tar -C build/ --exclude=hotspot/jtreg/native/support/\* --transform="s!^support/!${artifact_name}-support/support/!" -acf out/${artifact_name}-support.tar.gz support/test
publishers:
- archive:
- artifacts: 'out/*.tar.gz'
+ artifacts: 'out/*.tar.gz, out/build.out'
- email-ext:
reply-to: aarch64-port-dev@mail.openjdk.java.net
- subject: jdk/jdk Build ${BUILD_NUMBER}
- attach-build-log: true
- body: 'Build ${BUILD_URL}'
+ subject: Linaro OpenJDK AArch64 jdk/jdk build ${BUILD_NUMBER} ${BUILD_STATUS}
+ attach-build-log: false
+ body: |
+ OpenJDK AArch64 jdk/jdk build status is ${BUILD_STATUS}
+ Build details - ${BUILD_URL}
+
+ Build output -
+ ${FILE,path="build-tail.out"}
+
fixed: true
failure: true
recipients: 'stuart.monteith@linaro.org'