Skip to content

Commit cb8c666

Browse files
authored
TRITON-1943 add Jenkinsfiles to Triton repositories (#64)
1 parent e97ab59 commit cb8c666

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

Jenkinsfile

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
@Library('[email protected]') _
2+
3+
pipeline {
4+
5+
agent none
6+
7+
options {
8+
buildDiscarder(logRotator(numToKeepStr: '30'))
9+
timestamps()
10+
}
11+
12+
stages {
13+
stage('top') {
14+
parallel {
15+
stage('v0.10.48-zone') {
16+
agent {
17+
label joyCommonLabels(image_ver: '15.4.1')
18+
}
19+
tools {
20+
nodejs 'sdcnode-v0.10.48-zone'
21+
}
22+
stages {
23+
stage('check') {
24+
steps{
25+
sh('make check')
26+
}
27+
}
28+
stage('test') {
29+
steps{
30+
sh('make test')
31+
}
32+
}
33+
}
34+
}
35+
36+
stage('v4-zone') {
37+
agent {
38+
label joyCommonLabels(image_ver: '15.4.1')
39+
}
40+
tools {
41+
nodejs 'sdcnode-v4-zone'
42+
}
43+
stages {
44+
stage('check') {
45+
steps{
46+
sh('make check')
47+
}
48+
}
49+
stage('test') {
50+
steps{
51+
sh('make test')
52+
}
53+
}
54+
}
55+
}
56+
57+
stage('v6-zone64') {
58+
agent {
59+
label joyCommonLabels(image_ver: '18.4.0')
60+
}
61+
tools {
62+
nodejs 'sdcnode-v6-zone64'
63+
}
64+
stages {
65+
stage('check') {
66+
steps{
67+
sh('make check')
68+
}
69+
}
70+
stage('test') {
71+
steps{
72+
sh('make test')
73+
}
74+
}
75+
}
76+
}
77+
}
78+
}
79+
}
80+
81+
post {
82+
always {
83+
joyMattermostNotification()
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)