Update Jenkinsfile (#1282)
* Update Jenkinsfile Specify build nodes using granular tags * Update Jenkinsfile go back to building react tests on the vegas nodes
This commit is contained in:
parent
49886528ac
commit
5353964804
|
@ -68,8 +68,8 @@ stage('build') {
|
|||
macos_node_release: doMacBuild('node Release'),
|
||||
//macos_realmjs_debug: doMacBuild('realmjs Debug'),
|
||||
//macos_realmjs_release: doMacBuild('realmjs Release'),
|
||||
macos_react_tests_debug: doReactBuild('react-tests Debug'),
|
||||
macos_react_tests_release: doReactBuild('react-tests Release'),
|
||||
macos_react_tests_debug: doMacBuild('react-tests Debug'),
|
||||
macos_react_tests_release: doMacBuild('react-tests Release'),
|
||||
macos_react_example_debug: doMacBuild('react-example Debug'),
|
||||
macos_react_example_release: doMacBuild('react-example Release'),
|
||||
//android_react_tests: doAndroidBuild('react-tests-android', {
|
||||
|
@ -188,26 +188,12 @@ def doMacBuild(target, postStep = null) {
|
|||
}
|
||||
}
|
||||
|
||||
def doReactBuild(target, postStep = null) {
|
||||
return {
|
||||
node('xamarin-mac') {
|
||||
try {
|
||||
lock("${env.NODE_NAME} iOS Simulator") {
|
||||
doInside("./scripts/test.sh", target, postStep)
|
||||
}
|
||||
} finally {
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def doWindowsBuild() {
|
||||
return {
|
||||
node('windows') {
|
||||
node('windows && nodejs') {
|
||||
unstash 'source'
|
||||
try {
|
||||
bat 'npm install --build-from-source'
|
||||
bat 'npm install --build-from-source=realm'
|
||||
dir('tests') {
|
||||
bat 'npm install'
|
||||
bat 'npm run test'
|
||||
|
|
Loading…
Reference in New Issue