HBASE-18527 Update nightly job to account for changes in jenkins plugins.
- Stop presuming job will be configured with checkout into a 'component' dir - Disable autocheckout - Specify checkout within 'component' dir - leave the workspace around on pipeline failure so we can browse it.
This commit is contained in:
parent
afd5866de0
commit
7029c23b00
|
@ -27,6 +27,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '30'))
|
buildDiscarder(logRotator(numToKeepStr: '30'))
|
||||||
timeout (time: 6, unit: 'HOURS')
|
timeout (time: 6, unit: 'HOURS')
|
||||||
timestamps()
|
timestamps()
|
||||||
|
skipDefaultCheckout()
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
TOOLS = "${env.WORKSPACE}/tools"
|
TOOLS = "${env.WORKSPACE}/tools"
|
||||||
|
@ -59,6 +60,13 @@ pipeline {
|
||||||
booleanParam(name: 'DEBUG', defaultValue: false, description: 'Produce a lot more meta-information.')
|
booleanParam(name: 'DEBUG', defaultValue: false, description: 'Produce a lot more meta-information.')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
stage ('scm checkout') {
|
||||||
|
steps {
|
||||||
|
dir('component') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage ('yetus install') {
|
stage ('yetus install') {
|
||||||
steps {
|
steps {
|
||||||
sh '''#!/usr/bin/env bash
|
sh '''#!/usr/bin/env bash
|
||||||
|
@ -298,9 +306,4 @@ END
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
|
||||||
failure {
|
|
||||||
deleteDir()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue