mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
66 lines
1.7 KiB
Text
66 lines
1.7 KiB
Text
|
@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()
|
||
|
}
|
||
|
}
|
||
|
}
|