-
Bug
-
Resolution: Unresolved
-
Minor
-
Windows 7, Jenkins 2.89.4, promoted-builds-plugin 2.31.1
Running this Job DSL
job('a-test-build') {
properties {
promotions {
promotion {
name('Deploy a-test to Production')
icon('star-gold')
conditions {
manual('bob')
}
actions {
actions {
triggerBuilder {
configs {
blockableBuildTriggerConfig {
projects('a-test-deploy-prod')
block {
buildStepFailureThreshold('FAILURE')
failureThreshold('FAILURE')
unstableThreshold('UNSTABLE')
}
configs {
predefinedBuildParameters {
properties('X=Y')
textParamValueOnNewLine(false)
}
}
}
}
}
}
}
}
}
}
}
Results in
java.lang.ClassCastException: java.lang.String cannot be cast to groovy.util.Node
Using
actions {
steps {
...
}
}
Runs without errors, but is not the desired job result I need. Using a single "steps{}" also results in same ClassCastException.
Any help is very much appreciated.