Jenkins shared library and CDK constructs for AWS infrastructure. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
489 B
Groovy
19 lines
489 B
Groovy
/**
|
|
* Default pipeline properties for Spicy CDK pipelines
|
|
*/
|
|
|
|
def call(Map args) {
|
|
return args + [
|
|
/*
|
|
* Properties for the Jenkins Pipeline. Does not allow concurrent builds by default.
|
|
* If you'd like to schedule a job using a cron syntax, set pipelineProperties to:
|
|
*
|
|
* [disableConcurrentBuilds(), pipelineTriggers([cron('H 13 * * *')])]
|
|
*/
|
|
pipelineProperties: [disableConcurrentBuilds()].plus(args.pipelineProperties ?: []),
|
|
]
|
|
}
|
|
|
|
return this
|
|
|