mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 21:05:18 +00:00
Don't lock Jenkins nodes for too long if possible (#desktop).
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
e8ab892e95
commit
24db421fea
@ -94,15 +94,15 @@ def buildClojureScript() {
|
|||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
node() {
|
timeout(90) {
|
||||||
gitHubNotify("Desktop Jenkins build job started at ${env.BUILD_URL}")
|
node() {
|
||||||
|
gitHubNotify("Desktop Jenkins build job started at ${env.BUILD_URL}")
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
parallel(
|
parallel(
|
||||||
'MacOS build': {
|
'MacOS build': {
|
||||||
timeout(90) {
|
|
||||||
node('macos1') {
|
node('macos1') {
|
||||||
load "$HOME/env.groovy"
|
load "$HOME/env.groovy"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
stage('Git & Deps') {
|
stage('Git & Deps') {
|
||||||
slackNotify('MacOS build started.')
|
slackNotify('MacOS build started.')
|
||||||
@ -158,10 +158,8 @@ node() {
|
|||||||
cleanupBuild()
|
cleanupBuild()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
'Linux build': {
|
'Linux build': {
|
||||||
timeout(90) {
|
|
||||||
node ('linux-01') {
|
node ('linux-01') {
|
||||||
def qt_bin = '/opt/qt59/bin'
|
def qt_bin = '/opt/qt59/bin'
|
||||||
|
|
||||||
@ -252,9 +250,10 @@ node() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
)
|
)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
gitHubNotify("Desktop Jenkins build was failed or cancelled. More details at ${env.BUILD_URL}")
|
node() {
|
||||||
|
gitHubNotify("Desktop Jenkins build was failed or cancelled. More details at ${env.BUILD_URL}")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user