-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
53 lines (53 loc) · 2.19 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
pipeline {
agent none
environment {
MY127WS_KEY = credentials('base-my127ws-key-20190523')
}
triggers { cron(env.BRANCH_NAME == 'master' ? 'H H(2-6) * * 1' : '') }
stages {
stage('Test Matrix') {
parallel {
stage('(go=1.19 mode=production)') {
agent { label 'linux-amd64' }
steps { sh './test production 1.19' }
}
stage('(go=1.19 mode=production-multiplatform)') {
agent { label 'linux-amd64' }
steps { sh './test production-multiplatform 1.19' }
}
stage('(go=1.19 mode=develop-with-mysql)') {
agent { label 'linux-amd64' }
steps { sh './test develop-with-mysql 1.19' }
}
stage('(go=1.19 mode=develop-with-postgres)') {
agent { label 'linux-amd64' }
steps { sh './test develop-with-postgres 1.19' }
}
stage('(go=1.19 mode=develop-with-kafka)') {
agent { label 'linux-amd64' }
steps { sh './test develop-with-kafka 1.19' }
}
stage('(go=1.20 mode=production)') {
agent { label 'linux-amd64' }
steps { sh './test production 1.20' }
}
stage('(go=1.20 mode=production-multiplatform)') {
agent { label 'linux-amd64' }
steps { sh './test production-multiplatform 1.20' }
}
stage('(go=1.20 mode=develop-with-mysql)') {
agent { label 'linux-amd64' }
steps { sh './test develop-with-mysql 1.20' }
}
stage('(go=1.20 mode=develop-with-postgres)') {
agent { label 'linux-amd64' }
steps { sh './test develop-with-postgres 1.20' }
}
stage('(go=1.20 mode=develop-with-kafka)') {
agent { label 'linux-amd64' }
steps { sh './test develop-with-kafka 1.20' }
}
}
}
}
}