-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathJenkinsfile
100 lines (94 loc) · 2.91 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright 2022 Joyent, Inc.
*/
@Library('jenkins-joylib@v1.0.8') _
pipeline {
agent none
options {
buildDiscarder(logRotator(numToKeepStr: '30'))
timestamps()
}
environment {
MIN_PLATFORM_STAMP = '20181206T011455Z'
MIN_PLATFORM_STAMP_NG = '20210826T002459Z'
}
stages {
stage('build sdcnode versions') {
when {
triggeredBy cause: 'UserIdCause'
}
parallel {
stage('1.6.3') {
agent {
node {
label joyCommonLabels(image_ver: '1.6.3', pkgsrc_arch: 'i386')
}
}
steps {
sh('''
./tools/build_jenkins -u fd2cc906-8938-11e3-beab-4359c665ac99 -p $MIN_PLATFORM_STAMP
''')
}
}
stage('sdc-minimal-multiarch-lts@15.4.1') {
agent {
node {
label joyCommonLabels(image_ver: '15.4.1')
}
}
steps {
sh('''
./tools/build_jenkins -u 18b094b0-eb01-11e5-80c1-175dac7ddf02 -p $MIN_PLATFORM_STAMP
''')
}
}
stage('minimal-64-lts 18.4.0') {
agent {
node {
label joyCommonLabels(image_ver: '18.4.0')
}
}
steps {
sh('''
./tools/build_jenkins -u c2c31b00-1d60-11e9-9a77-ff9f06554b0f -p $MIN_PLATFORM_STAMP
''')
}
}
stage('minimal-64-lts 19.4.0') {
agent {
node {
label joyCommonLabels(image_ver: '19.4.0')
}
}
steps {
sh('''
./tools/build_jenkins -u 5417ab20-3156-11ea-8b19-2b66f5e7a439 -p $MIN_PLATFORM_STAMP
''')
}
}
stage('minimal-64-lts 21.4.0') {
agent {
node {
label joyCommonLabels(image_ver: '21.4.0', pi: '20210826T002459Z')
}
}
steps {
sh('''
./tools/build_jenkins -u a7199134-7e94-11ec-be67-db6f482136c2 -p $MIN_PLATFORM_STAMP_NG
''')
}
}
} // end parallel
}
}
post {
always {
joySlackNotifications()
}
}
}