forked from jetty-project/tck-run
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.servlet-10.0.x
36 lines (36 loc) · 1.1 KB
/
Jenkinsfile.servlet-10.0.x
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
pipeline {
agent none
triggers {
cron '@daily'
}
options {
buildDiscarder logRotator( numToKeepStr: '50' )
}
parameters {
string( defaultValue: "${env.JENKINS_URL}userContent/tcks/servlettck-4.0_latest.zip",
description: 'Url to download TCK ()',
name: 'TCKURL' )
string( defaultValue: "jetty-10.0.x",
description: 'Jetty 10.0.x branch to build',
name: 'JETTY_BRANCH' )
}
stages {
stage( 'Tck Run' ) {
steps {
script{
def result
try {
result = build job: 'servlettck-run',
parameters: [string( name: 'JETTY_BRANCH', value: "${JETTY_BRANCH}" ),
string( name: 'JDK', value: 'jdk11' ),
string( name: 'JDKTCK', value: 'jdk9' ),
string( name: 'TCKURL', value: "${TCKURL}" ),
string( name: 'SVLT_NS', value: 'javax' )]
} finally {
echo "result $result"
}
}
}
}
}
}