Jenkinsfile build tweak, also converted Jenkinsfile to TABS
This commit is contained in:
881
Jenkinsfile
vendored
881
Jenkinsfile
vendored
@@ -4,531 +4,532 @@ def changelog = getChangeLog currentBuild
|
||||
slackSend "Building ${env.JOB_NAME} #${env.BUILD_NUMBER} \n Change Log: \n ${changelog}"
|
||||
|
||||
parallel 'centos7': {
|
||||
node('centos7') {
|
||||
node('centos7') {
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------- lwIP -----------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------- lwIP -----------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux lwIP, ipv4') {
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux lwIP, ipv4') {
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux lwIP, ipv6') {
|
||||
sh 'rm -rf .depend'
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux lwIP, ipv6') {
|
||||
sh 'rm -rf .depend'
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------ picoTCP ---------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------ picoTCP ---------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux picoTCP, ipv4') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux picoTCP, ipv4') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux picoTCP, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux picoTCP, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux picoTCP, ipv4, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1 IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux picoTCP, ipv4, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1 IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ---------------------------- static library (Linux) --------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ---------------------------- static library (Linux) --------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
// NO_STACK
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack') {
|
||||
sh 'make clean; make static_lib NO_STACK=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack') {
|
||||
sh 'make clean; make static_lib NO_STACK=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack, ipv4') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack, ipv4') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, no stack, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
// picoTCP
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib, picoTCP, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
// lwIP
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP, ipv4, ipv6') {
|
||||
sh 'make clean; make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('linux static lib lwIP, ipv4, ipv6') {
|
||||
sh 'make clean; make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on linux (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}, 'macOS': {
|
||||
node('macOS') {
|
||||
node('macOS') {
|
||||
|
||||
unlockKeychainMac "~/Library/Keychains/login.keychain-db"
|
||||
unlockKeychainMac "~/Library/Keychains/login.keychain-db"
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------- lwIP -----------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------- lwIP -----------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS lwIP, ipv4') {
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS lwIP, ipv4') {
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS lwIP, ipv6') {
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS lwIP, ipv6') {
|
||||
sh 'rm -rf .depend'
|
||||
sh 'make -f make-liblwip.mk liblwip.a IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------ picoTCP ---------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------ picoTCP ---------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS picoTCP, ipv4') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS picoTCP, ipv4') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS picoTCP, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS picoTCP, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS picoTCP, ipv4, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1 IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS picoTCP, ipv4, ipv6') {
|
||||
sh 'cd ext/picotcp; make lib ARCH=shared IPV4=1 IPV6=1'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// -------------------------- Intercept Library (macOS) -------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// -------------------------- Intercept Library (macOS) -------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
// TODO
|
||||
// TODO
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ---------------------------- App Frameworks (macOS) --------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ---------------------------- App Frameworks (macOS) --------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
// TODO
|
||||
// TODO
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// ----------------------------- static library (macOS) -------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
// ----------------------------- static library (macOS) -------------------------
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
// NO_STACK
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack') {
|
||||
sh 'make clean; make static_lib NO_STACK=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack') {
|
||||
sh 'make clean; make static_lib NO_STACK=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack, ipv4') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack, ipv4') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV6=1'; make tests
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV6=1'; make tests
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, no stack, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib NO_STACK=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
// picoTCP
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1 LIBZT_IPV6=1'; make tests
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, picoTCP, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_PICO=1 LIBZT_IPV4=1 LIBZT_IPV6=1'; make tests
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
// lwIP
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP, ipv4') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
}
|
||||
try {
|
||||
checkout scm
|
||||
sh 'git submodule update --init'
|
||||
stage('macOS static lib, lwIP, ipv4, ipv6') {
|
||||
sh 'make clean; make static_lib STACK_LWIP=1 LIBZT_IPV4=1 LIBZT_IPV6=1; make tests'
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
slackSend color: "#00ff00", message: "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
||||
|
||||
Reference in New Issue
Block a user