You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-42360] Globals not accessible in Declarative Pipeline outside script directive #1000
fyi, this was resolved because the validation improvements are all we're gonna do here - we're not actually going to allow the behavior, but now we're erroring out on more of it, at least.
fyi, this was resolved because the validation improvements are all we're gonna do here - we're not actually going to allow the behavior, but now we're erroring out on more of it, at least.
Activity
jenkins-infra-bot commentedon Feb 27, 2017
Remote links associated with this issue:
jenkins-infra-bot commentedon Feb 27, 2017
Raw content of original comment:
Note that globals are usable within script blocks.
jenkins-infra-bot commentedon Feb 28, 2017
Raw content of original comment:
I've got a PR up at #127 with better error reporting of an object method call - doesn't enable usage of them, but does at least explain the error.
jenkins-infra-bot commentedon Mar 1, 2017
Raw content of original comment:
Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/Messages.properties
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java
pipeline-model-definition/src/test/resources/libraryObjectDefinedOutsidePipeline.groovy
pipeline-model-definition/src/test/resources/libraryObjectOutsideScript.groovy
http://jenkins-ci.org/commit/pipeline-model-definition-plugin/2750f57fad326f173fb81012d522dfc7639197b3
Log:
JENKINS-42360Improve validation on object method callsActually distinguish object method calls from generalized "expected a
symbol", and report accordingly.
jenkins-infra-bot commentedon Mar 1, 2017
Raw content of original comment:
Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/Messages.properties
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java
pipeline-model-definition/src/test/resources/libraryObjectDefinedOutsidePipeline.groovy
pipeline-model-definition/src/test/resources/libraryObjectOutsideScript.groovy
http://jenkins-ci.org/commit/pipeline-model-definition-plugin/5c215ff0cdbf81bb517d34451aeb5d6a32fe7044
Log:
Merge pull request #127 from abayer/jenkins-42360
JENKINS-42360Improve validation on object method callsCompare: faa4b12...5c215ff
jenkins-infra-bot commentedon Jul 6, 2017
Raw content of original comment:
fyi, this was resolved because the validation improvements are all we're gonna do here - we're not actually going to allow the behavior, but now we're erroring out on more of it, at least.
jenkins-infra-bot commentedon Oct 23, 2019
Raw content of original comment:
Bulk closing resolved issues.