| 1 |
@Library('[email protected]') _ |
| 2 |
|
| 3 |
pipeline { |
| 4 |
|
| 5 |
agent none |
| 6 |
|
| 7 |
options { |
| 8 |
buildDiscarder(logRotator(numToKeepStr: '45')) |
| 9 |
timestamps() |
| 10 |
} |
| 11 |
|
| 12 |
stages { |
| 13 |
stage('top') { |
| 14 |
parallel { |
| 15 |
stage('v4-zone') { |
| 16 |
agent { |
| 17 |
label joyCommonLabels(image_ver: '15.4.1') |
| 18 |
} |
| 19 |
tools { |
| 20 |
nodejs 'sdcnode-v4-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('v6-zone64') { |
| 37 |
agent { |
| 38 |
label joyCommonLabels(image_ver: '18.4.0') |
| 39 |
} |
| 40 |
tools { |
| 41 |
nodejs 'sdcnode-v6-zone64' |
| 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 |
} |
| 58 |
} |
| 59 |
|
| 60 |
post { |
| 61 |
always { |
| 62 |
joySlackNotifications() |
| 63 |
} |
| 64 |
} |
| 65 |
} |