travel/admin/node_modules/asn1/Jenkinsfile

66 lines
1.7 KiB
Plaintext
Raw Normal View History

2024-06-24 11:28:18 +08:00
@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()
}
}
}