fixed case of Jenkinsfile
This commit is contained in:
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
|
parallel 'centos7': {
|
||||||
|
node('centos7') {
|
||||||
|
try {
|
||||||
|
checkout scm
|
||||||
|
stage('Build centos7') {
|
||||||
|
sh 'make -f make-linux.mk linux_service_and_intercept SDK_LWIP=1 SDK_IPV4=1'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (err) {
|
||||||
|
currentBuild.result = "FAILURE"
|
||||||
|
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on centos7 (<${env.BUILD_URL}|Open>)"
|
||||||
|
throw err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user