Check status of jobs
This commit is contained in:
parent
88a4a3b41d
commit
0ae743b16f
1 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
def performSuccessfulBuildActions() {
|
||||
if (params.DOXYGEN_DEPLOY_JOB != null && DOXYGEN_DEPLOY_JOB) {
|
||||
if (Jenkins.instance.getItem(DOXYGEN_DEPLOY_JOB).isBuildable()) {
|
||||
if (Jenkins.instance.getItemByFullName(DOXYGEN_DEPLOY_JOB).isBuildable()) {
|
||||
build(
|
||||
wait: false,
|
||||
job: DOXYGEN_DEPLOY_JOB,
|
||||
|
|
@ -13,7 +13,7 @@ def performSuccessfulBuildActions() {
|
|||
}
|
||||
}
|
||||
if (params.STATIC_ANALYSIS_JOB != null && STATIC_ANALYSIS_JOB) {
|
||||
if (Jenkins.instance.getItem(STATIC_ANALYSIS_JOB).isBuildable()) {
|
||||
if (Jenkins.instance.getItemByFullName(STATIC_ANALYSIS_JOB).isBuildable()) {
|
||||
build(
|
||||
wait: false,
|
||||
job: STATIC_ANALYSIS_JOB,
|
||||
|
|
@ -25,7 +25,7 @@ def performSuccessfulBuildActions() {
|
|||
}
|
||||
}
|
||||
if (UNIT_TEST_JOB) {
|
||||
if (params.UNIT_TEST_JOB != null && Jenkins.instance.getItem(UNIT_TEST_JOB).isBuildable()) {
|
||||
if (params.UNIT_TEST_JOB != null && Jenkins.instance.getItemByFullName(UNIT_TEST_JOB).isBuildable()) {
|
||||
build(
|
||||
wait: false,
|
||||
job: UNIT_TEST_JOB,
|
||||
|
|
@ -37,7 +37,7 @@ def performSuccessfulBuildActions() {
|
|||
}
|
||||
}
|
||||
if (REGRESSION_TEST_JOB) {
|
||||
if (params.REGRESSION_TEST_JOB != null && Jenkins.instance.getItem(REGRESSION_TEST_JOB).isBuildable()) {
|
||||
if (params.REGRESSION_TEST_JOB != null && Jenkins.instance.getItemByFullName(REGRESSION_TEST_JOB).isBuildable()) {
|
||||
build(
|
||||
wait: false,
|
||||
job: REGRESSION_TEST_JOB,
|
||||
|
|
@ -49,7 +49,7 @@ def performSuccessfulBuildActions() {
|
|||
}
|
||||
}
|
||||
if (params.RELEASE_TO_GIT_JOB != null && RELEASE_TO_GIT_JOB) {
|
||||
if (Jenkins.instance.getItem(RELEASE_TO_GIT_JOB).isBuildable()) {
|
||||
if (Jenkins.instance.getItemByFullName(RELEASE_TO_GIT_JOB).isBuildable()) {
|
||||
build(
|
||||
wait: false,
|
||||
job: RELEASE_TO_GIT_JOB,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue