fixed options tag
This commit is contained in:
parent
2451e00559
commit
a3e2cf8509
2 changed files with 8 additions and 5 deletions
1
Jenkins/master-linux-pipeline/Jenkinsfile
vendored
1
Jenkins/master-linux-pipeline/Jenkinsfile
vendored
|
@ -23,6 +23,7 @@ pipeline {
|
||||||
SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts"
|
SCRIPT_DIR = "${WORKSPACE}/llvm-premerge-checks/scripts"
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
|
// set build timeout
|
||||||
timeout(time:2, unit:'HOURS')
|
timeout(time:2, unit:'HOURS')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
|
10
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
10
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
|
@ -25,8 +25,12 @@ pipeline {
|
||||||
pollSCM 'H H/4 * * *'
|
pollSCM 'H H/4 * * *'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
options {
|
||||||
// enable timestaps for getting execution times
|
// enable timestaps for getting execution times
|
||||||
options { timestamps () }
|
timestamps ()
|
||||||
|
// set build timeout
|
||||||
|
timeout(time:2, unit:'HOURS')
|
||||||
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
MY_BUILD_ID = "${JOB_BASE_NAME}-${BUILD_NUMBER}"
|
MY_BUILD_ID = "${JOB_BASE_NAME}-${BUILD_NUMBER}"
|
||||||
|
@ -34,9 +38,7 @@ pipeline {
|
||||||
RESULT_DIR = "${WORKSPACE}\\results"
|
RESULT_DIR = "${WORKSPACE}\\results"
|
||||||
LLVM_DIR = "${WORKSPACE}\\llvm-project"
|
LLVM_DIR = "${WORKSPACE}\\llvm-project"
|
||||||
}
|
}
|
||||||
options {
|
|
||||||
timeout(time:2, unit:'HOURS')
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage("git checkout"){
|
stage("git checkout"){
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue