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.
87 lines
2.4 KiB
87 lines
2.4 KiB
@Library('jenkins-joylib@v1.0.8') _
|
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
options {
|
|
buildDiscarder(logRotator(numToKeepStr: '30'))
|
|
timestamps()
|
|
}
|
|
|
|
stages {
|
|
stage('top') {
|
|
parallel {
|
|
stage('v0.10.48-zone') {
|
|
agent {
|
|
label joyCommonLabels(image_ver: '15.4.1')
|
|
}
|
|
tools {
|
|
nodejs 'sdcnode-v0.10.48-zone'
|
|
}
|
|
stages {
|
|
stage('check') {
|
|
steps{
|
|
sh('make check')
|
|
}
|
|
}
|
|
stage('test') {
|
|
steps{
|
|
sh('make test')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
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()
|
|
}
|
|
}
|
|
}
|