2017-11-06 14:44:26 +00:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
parallel {
|
|
|
|
stage('electron-osx-x64') {
|
|
|
|
agent {
|
|
|
|
label 'osx'
|
|
|
|
}
|
|
|
|
steps {
|
2017-12-04 18:19:51 +00:00
|
|
|
timeout(60) {
|
|
|
|
sh 'script/bootstrap.py --target_arch=x64 --dev'
|
|
|
|
sh 'npm run lint'
|
|
|
|
sh 'script/build.py -c D'
|
|
|
|
sh 'script/test.py --ci --rebuild_native_modules'
|
|
|
|
}
|
2017-11-06 14:44:26 +00:00
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('electron-mas-x64') {
|
|
|
|
agent {
|
|
|
|
label 'osx'
|
|
|
|
}
|
|
|
|
environment {
|
|
|
|
MAS_BUILD = '1'
|
|
|
|
}
|
|
|
|
steps {
|
2017-12-04 18:19:51 +00:00
|
|
|
timeout(60) {
|
|
|
|
sh 'script/bootstrap.py --target_arch=x64 --dev'
|
|
|
|
sh 'npm run lint'
|
|
|
|
sh 'script/build.py -c D'
|
|
|
|
sh 'script/test.py --ci --rebuild_native_modules'
|
|
|
|
}
|
2017-11-06 14:44:26 +00:00
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|