Fix HANA nightly build script issue
This commit is contained in:
parent
fcc7216911
commit
f9f540b848
|
@ -187,7 +187,7 @@ stage('Build') {
|
||||||
else {
|
else {
|
||||||
lock(label: buildEnv.dbLockableResource, quantity: 1, variable: 'LOCKED_RESOURCE') {
|
lock(label: buildEnv.dbLockableResource, quantity: 1, variable: 'LOCKED_RESOURCE') {
|
||||||
if ( buildEnv.dbLockResourceAsHost ) {
|
if ( buildEnv.dbLockResourceAsHost ) {
|
||||||
cmd += " -DdbHost=${LOCKED_RESOURCE}"
|
args += " -DdbHost=${LOCKED_RESOURCE}"
|
||||||
}
|
}
|
||||||
timeout( [time: buildEnv.longRunning ? 480 : 120, unit: 'MINUTES'] ) {
|
timeout( [time: buildEnv.longRunning ? 480 : 120, unit: 'MINUTES'] ) {
|
||||||
ciBuild buildEnv, args
|
ciBuild buildEnv, args
|
||||||
|
|
Loading…
Reference in New Issue