Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
allow GString as argument type for auto-generated DSL
[FIXES JENKINS-39153]
- Loading branch information
Showing
with
108 additions
and 7 deletions.
- +2 −0 docs/Home.md
- +14 −6 job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/structs/DescribableContext.groovy
- +13 −0 job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/ExecuteDslScriptsSpec.groovy
- +70 −1 job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/structs/DescribableContextSpec.groovy
- +9 −0 job-dsl-plugin/src/test/resources/javaposse/jobdsl/plugin/gstring.groovy
@@ -0,0 +1,9 @@ | ||
def TRIGGER = '@midnight' | ||
|
||
job('a') { | ||
triggers { | ||
timerTrigger { | ||
spec("${TRIGGER}") | ||
} | ||
} | ||
} |