Skip to content

Commit bc206dc

Browse files
Fix user ci pipeline setup usage (#712)
* Fix user ci pipeline setup usage Signed-off-by: Andrew Leonard <[email protected]> * Fix user ci pipeline setup usage Signed-off-by: Andrew Leonard <[email protected]> --------- Signed-off-by: Andrew Leonard <[email protected]>
1 parent b743ba0 commit bc206dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pipelines/build/regeneration/build_pipeline_generator.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ node('worker') {
268268
} catch (Exception e) {
269269
println "${e}\n[WARNING] Something went wrong when creating the weekly job dsl. It may be because we are trying to pull the template inside a user repository. Using Adopt's template instead..."
270270
checkoutAdoptPipelines()
271-
jobDsl targets: ADOPT_DEFAULTS_JSON['templateDirectories']['weeklyTemplatePath'], ignoreExisting: false, additionalParameters: config
271+
jobDsl targets: ADOPT_DEFAULTS_JSON['templateDirectories']['weekly'], ignoreExisting: false, additionalParameters: config
272272
checkoutUserPipelines()
273273
}
274274

pipelines/build/regeneration/evaluation_pipeline_generator.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ node('worker') {
273273
} catch (Exception e) {
274274
println "${e}\n[WARNING] Something went wrong when creating the weekly evaluation job dsl. It may be because we are trying to pull the template inside a user repository. Using Adopt's template instead..."
275275
checkoutAdoptPipelines()
276-
jobDsl targets: ADOPT_DEFAULTS_JSON['templateDirectories']['weeklyTemplatePath'], ignoreExisting: false, additionalParameters: config
276+
jobDsl targets: ADOPT_DEFAULTS_JSON['templateDirectories']['weekly'], ignoreExisting: false, additionalParameters: config
277277
checkoutUserPipelines()
278278
}
279279
// add into list
@@ -295,4 +295,4 @@ node('worker') {
295295
println '[INFO] Cleaning up...'
296296
cleanWs deleteDirs: true
297297
}
298-
}
298+
}

0 commit comments

Comments
 (0)