You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.7 KiB
66 lines
1.7 KiB
1 month ago
|
@Library('jenkins-joylib@v1.0.8') _
|
||
|
|
||
|
pipeline {
|
||
|
|
||
|
agent none
|
||
|
|
||
|
options {
|
||
|
buildDiscarder(logRotator(numToKeepStr: '45'))
|
||
|
timestamps()
|
||
|
}
|
||
|
|
||
|
stages {
|
||
|
stage('top') {
|
||
|
parallel {
|
||
|
stage('v4-zone') {
|
||
|
agent {
|
||
|
label joyCommonLabels(image_ver: '15.4.1')
|
||
|
}
|
||
|
tools {
|
||
|
nodejs 'sdcnode-v4-zone'
|
||
|
}
|
||
|
stages {
|
||
|
stage('check') {
|
||
|
steps{
|
||
|
sh('make check')
|
||
|
}
|
||
|
}
|
||
|
stage('test') {
|
||
|
steps{
|
||
|
sh('make test')
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
stage('v6-zone64') {
|
||
|
agent {
|
||
|
label joyCommonLabels(image_ver: '18.4.0')
|
||
|
}
|
||
|
tools {
|
||
|
nodejs 'sdcnode-v6-zone64'
|
||
|
}
|
||
|
stages {
|
||
|
stage('check') {
|
||
|
steps{
|
||
|
sh('make check')
|
||
|
}
|
||
|
}
|
||
|
stage('test') {
|
||
|
steps{
|
||
|
sh('make test')
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
always {
|
||
|
joySlackNotifications()
|
||
|
}
|
||
|
}
|
||
|
}
|