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"
|
||||
}
|
||||
options {
|
||||
// set build timeout
|
||||
timeout(time:2, unit:'HOURS')
|
||||
}
|
||||
stages {
|
||||
|
|
12
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
12
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
|
@ -25,8 +25,12 @@ pipeline {
|
|||
pollSCM 'H H/4 * * *'
|
||||
}
|
||||
|
||||
// enable timestaps for getting execution times
|
||||
options { timestamps () }
|
||||
options {
|
||||
// enable timestaps for getting execution times
|
||||
timestamps ()
|
||||
// set build timeout
|
||||
timeout(time:2, unit:'HOURS')
|
||||
}
|
||||
|
||||
environment {
|
||||
MY_BUILD_ID = "${JOB_BASE_NAME}-${BUILD_NUMBER}"
|
||||
|
@ -34,9 +38,7 @@ pipeline {
|
|||
RESULT_DIR = "${WORKSPACE}\\results"
|
||||
LLVM_DIR = "${WORKSPACE}\\llvm-project"
|
||||
}
|
||||
options {
|
||||
timeout(time:2, unit:'HOURS')
|
||||
}
|
||||
|
||||
stages {
|
||||
stage("git checkout"){
|
||||
steps {
|
||||
|
|
Loading…
Reference in a new issue