-
Notifications
You must be signed in to change notification settings - Fork 263
/
Jenkinsfile
52 lines (52 loc) · 2.12 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
pipeline {
agent none
environment {
TEST_RUN_ID = "${BUILD_NUMBER}"
}
parameters {
string(name: 'opensearch_version')
string(name: 'build_id')
string(name: 'architecture')
}
stages {
stage('Execute Tests') {
steps {
parallel (
IntegTests: {
build job: 'integ-test',
parameters: [
string(name: 'opensearch_version', value: "${params.opensearch_version}"),
string(name: 'build_id', value: "${params.build_id}"),
string(name: 'architecture', value: "${params.architecture}"),
string(name: 'test_run_id', value: "${TEST_RUN_ID}")
]
},
PerfTests: {
build job: 'perf-test',
parameters: [
string(name: 'opensearch_version', value: "${params.opensearch_version}"),
string(name: 'build_id', value: "${params.build_id}"),
string(name: 'architecture', value: "${params.architecture}"),
string(name: 'test_run_id', value: "${TEST_RUN_ID}")
]
},
BwcTests: {
build job: 'bwc-test',
parameters: [
string(name: 'opensearch_version', value: "${params.opensearch_version}"),
string(name: 'build_id', value: "${params.build_id}"),
string(name: 'architecture', value: "${params.architecture}"),
string(name: 'test_run_id', value: "${TEST_RUN_ID}")
]
},
failFast: false)
}
}
stage('Notify') {
steps {
echo "This step is stubbed. Its purpose is to notify different channels for successful build"
}
failFast false
}
}
}