|
|
|
|
@ -9,81 +9,6 @@ node('master') {
|
|
|
|
|
parallel 'centos7': { |
|
|
|
|
node('centos7') { |
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
// ------------------------------------- lwIP ----------------------------------- |
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
checkout scm |
|
|
|
|
sh 'git submodule update --init' |
|
|
|
|
stage('linux lwIP, ipv4') { |
|
|
|
|
sh 'make -j4 -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 'make -j4 -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 --------------------------------- |
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
try { |
|
|
|
|
checkout scm |
|
|
|
|
sh 'git submodule update --init' |
|
|
|
|
stage('linux picoTCP, ipv4') { |
|
|
|
|
sh 'cd ext/picotcp; make -j4 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 -j4 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 -j4 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) -------------------------- |
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
@ -256,82 +181,6 @@ parallel 'centos7': {
|
|
|
|
|
|
|
|
|
|
unlockKeychainMac "~/Library/Keychains/login.keychain-db" |
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
// ------------------------------------- lwIP ----------------------------------- |
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
checkout scm |
|
|
|
|
sh 'git submodule update --init' |
|
|
|
|
stage('macOS lwIP, ipv4') { |
|
|
|
|
sh 'make -j4 -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 -j4 -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 --------------------------------- |
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
try { |
|
|
|
|
checkout scm |
|
|
|
|
sh 'git submodule update --init' |
|
|
|
|
stage('macOS picoTCP, ipv4') { |
|
|
|
|
sh 'cd ext/picotcp; make -j4 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 -j4 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 -j4 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) ------------------------- |
|
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
|