Initial commit: Spicy CDK automation framework
Jenkins shared library and CDK constructs for AWS infrastructure. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
18
vars/spicyDefaults.groovy
Normal file
18
vars/spicyDefaults.groovy
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user