-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
60 lines (49 loc) · 2.37 KB
/
Jenkinsfile
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
node("master") {
stage("run") {
timestamps {
ansiColor('xterm') {
properties([
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
pipelineTriggers([pollSCM('H/15 * * * *')])])
checkout([
$class: 'GitSCM',
branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false, extensions:
[
[$class: 'RelativeTargetDirectory',
relativeTargetDir: 'integration-tests']
],
submoduleCfg: [],
userRemoteConfigs: [
[url: 'https://github.com/maestro-performance/integration-tests.git']]])
stage('prepare') {
sh 'cd integration-tests && ./prepare.sh'
}
stage('All Out Tests') {
sh "cd $WORKSPACE/integration-tests/work && ./test-all-out.sh all"
}
stage('Incremental Tests') {
sh "cd $WORKSPACE/integration-tests/work && ./test-fair-incremental.sh all"
}
stage('Fixed Rate Tests') {
sh "cd $WORKSPACE/integration-tests/work && ./test-fixed-rate.sh all"
}
stage('Warmed Up Fixed Rate Tests') {
sh "cd $WORKSPACE/integration-tests/work && ./test-fixed-rate-warm-up.sh all"
}
xunit testTimeMargin: '7200000',
thresholds: [
failed(failureThreshold: '2'),
skipped(failureThreshold: '5')],
tools: [
Custom(customXSL: 'https://issues.jenkins-ci.org/secure/attachment/43984/custom-to-junit.xsl',
deleteOutputFiles: true,
failIfNotNew: true,
pattern: 'integration-tests/work/results/**/*.xml',
skipNoTestFiles: false,
stopProcessingIfError: false)]
}
}
cleanWs()
}
}