blob: 085200202f1904f9b577171394506ffeb360b982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
- job:
name: jcstress-build
project-type: freestyle
defaults: global
description: |
* Polls upstream for changes and builds jcstress.jar.
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
openjdk-members:
- job-build
- job-cancel
- build-discarder:
num-to-keep: 10
artifact-num-to-keep: 1
parameters:
- string:
name: MAVEN_URL
default: 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz'
disabled: true
node: aarch64-06
display-name: 'OpenJDK - Build jcstress jar'
scm:
- hg:
url: http://hg.openjdk.java.net/code-tools/jcstress/
clean: true
browser: hgweb
browser-url: http://hg.openjdk.java.net/code-tools/jcstress/
triggers:
- pollscm:
cron: 'H 20 * * *'
wrappers:
- timestamps
builders:
- shell: |
#!/bin/bash
set -exu
CACHE_FILES=$HOME/srv/jdk-cache
rm -rf apache-maven-*
wget --progress=dot -e dotbytes=2M ${MAVEN_URL}
tar -zxf apache-maven-*.tar.gz
export JAVA_HOME=$CACHE_FILES/jdk11
cd ${WORKSPACE}/apache-maven-*
export M3_HOME=${PWD}
# JDK 9 is needed to compile all the tests (tests-all).
export PATH=${JAVA_HOME}/bin:${M3_HOME}/bin:${PATH}
which java
java -version
mvn -version
cd ${WORKSPACE}
mvn -B clean install -pl tests-all,tests-custom -am
publishers:
- archive:
artifacts: 'tests-*/target/jcstress.jar'
- email:
recipients: 'stuart.monteith@linaro.org fathi.boudra@linaro.org'
|