Branch: refs/heads/master Home: https://github.com/jenkinsci/pipeline-model-definition-plugin Commit: 67fff2472d52e9d989dd1f9e124c31039fda21a3 https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/67fff2472d52e9d989dd1f9e124c31039fda21a3 Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths: M pipeline-model-api/pom.xml A pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCache.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/AbstractModelASTCodeBlock.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTNamedArgumentList.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTStep.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTTreeStep.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidator.java M pipeline-model-declarative-agent/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/DeclarativeAgentDescriptor.java M pipeline-model-definition/pom.xml M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidatorImpl.groovy M pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/Any.java M pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/Label.java M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterActionStepsTest.java M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/validator/JSONValidationTest.java M pipeline-model-definition/src/test/resources/json/agentAny.json M pipeline-model-definition/src/test/resources/json/agentDocker.json M pipeline-model-definition/src/test/resources/json/agentLabel.json M pipeline-model-definition/src/test/resources/json/agentNoneWithNode.json A pipeline-model-definition/src/test/resources/json/agentTypeOrdering.json M pipeline-model-definition/src/test/resources/json/basicWhen.json M pipeline-model-definition/src/test/resources/json/environmentInStage.json M pipeline-model-definition/src/test/resources/json/errors/agentMissingRequiredParam.json M pipeline-model-definition/src/test/resources/json/errors/agentUnknownParamForType.json M pipeline-model-definition/src/test/resources/json/errors/emptyEnvironment.json M pipeline-model-definition/src/test/resources/json/errors/emptyJobProperties.json M pipeline-model-definition/src/test/resources/json/errors/emptyParameters.json M pipeline-model-definition/src/test/resources/json/errors/emptyPostBuild.json M pipeline-model-definition/src/test/resources/json/errors/emptyTriggers.json M pipeline-model-definition/src/test/resources/json/errors/invalidBuildCondition.json M pipeline-model-definition/src/test/resources/json/errors/invalidParameterTypeMethodCall.json M pipeline-model-definition/src/test/resources/json/errors/invalidWrapperType.json M pipeline-model-definition/src/test/resources/json/errors/missingAgent.json M pipeline-model-definition/src/test/resources/json/errors/missingRequiredMethodCallArg.json M pipeline-model-definition/src/test/resources/json/errors/missingRequiredStepParameters.json M pipeline-model-definition/src/test/resources/json/errors/missingStages.json M pipeline-model-definition/src/test/resources/json/errors/mixedMethodArgs.json M pipeline-model-definition/src/test/resources/json/errors/notInstalledToolType.json M pipeline-model-definition/src/test/resources/json/errors/notInstalledToolVersion.json M pipeline-model-definition/src/test/resources/json/errors/notificationsSectionRemoved.json M pipeline-model-definition/src/test/resources/json/errors/perStageConfigUnknownSection.json M pipeline-model-definition/src/test/resources/json/errors/rejectParallelMixedInSteps.json M pipeline-model-definition/src/test/resources/json/errors/rejectPropertiesStepInMethodCall.json M pipeline-model-definition/src/test/resources/json/errors/rejectStageInSteps.json M pipeline-model-definition/src/test/resources/json/errors/stageWithoutName.json M pipeline-model-definition/src/test/resources/json/errors/unknownAgentType.json M pipeline-model-definition/src/test/resources/json/errors/unknownBareAgentType.json M pipeline-model-definition/src/test/resources/json/errors/unknownStepParameter.json M pipeline-model-definition/src/test/resources/json/errors/unlistedToolType.json M pipeline-model-definition/src/test/resources/json/errors/wrongParameterNameMethodCall.json M pipeline-model-definition/src/test/resources/json/globalLibrarySuccess.json M pipeline-model-definition/src/test/resources/json/legacyMetaStepSyntax.json M pipeline-model-definition/src/test/resources/json/metaStepSyntax.json M pipeline-model-definition/src/test/resources/json/multipleVariablesForAgent.json M pipeline-model-definition/src/test/resources/json/multipleWrappers.json M pipeline-model-definition/src/test/resources/json/parallelPipeline.json M pipeline-model-definition/src/test/resources/json/parallelPipelineQuoteEscaping.json M pipeline-model-definition/src/test/resources/json/parallelPipelineWithFailFast.json M pipeline-model-definition/src/test/resources/json/parallelPipelineWithSpaceInBranch.json M pipeline-model-definition/src/test/resources/json/perStageConfigAgent.json M pipeline-model-definition/src/test/resources/json/simpleEnvironment.json M pipeline-model-definition/src/test/resources/json/simpleJobProperties.json M pipeline-model-definition/src/test/resources/json/simpleParameters.json M pipeline-model-definition/src/test/resources/json/simplePipeline.json M pipeline-model-definition/src/test/resources/json/simplePostBuild.json M pipeline-model-definition/src/test/resources/json/simpleScript.json M pipeline-model-definition/src/test/resources/json/simpleTools.json M pipeline-model-definition/src/test/resources/json/simpleTriggers.json M pipeline-model-definition/src/test/resources/json/simpleWrapper.json M pipeline-model-definition/src/test/resources/json/skippedWhen.json M pipeline-model-definition/src/test/resources/json/steps/arrayEcho.json M pipeline-model-definition/src/test/resources/json/steps/simpleEcho.json M pipeline-model-definition/src/test/resources/json/steps/simpleScript.json M pipeline-model-definition/src/test/resources/json/stringsNeedingEscapeLogic.json M pipeline-model-definition/src/test/resources/json/toolsInStage.json M pipeline-model-definition/src/test/resources/json/twoStagePipeline.json M pipeline-model-definition/src/test/resources/json/validStepParameters.json M pipeline-model-definition/src/test/resources/json/whenBranch.json M pipeline-model-definition/src/test/resources/json/whenEnv.json Log Message: ----------- [FIXED JENKINS-40573] Re-do step arguments to always be named in JSON representation. While still serializing to Groovy as, e.g., "echo('foo')" when appropriate (i.e., sole required parameter, just one parameter specified, no closure involved). Commit: 442b1eed55146b9bd1d161fb5816bbc000fd2a2e https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/442b1eed55146b9bd1d161fb5816bbc000fd2a2e Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2017-01-10 (Tue, 10 Jan 2017) Changed paths: M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCache.java Log Message: ----------- Synchronize DescriptorLookupCache's relevant methods Commit: 69d1f71f6f5a93274c7cfcb2d43b150d3655cdb1 https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/69d1f71f6f5a93274c7cfcb2d43b150d3655cdb1 Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2017-01-10 (Tue, 10 Jan 2017) Changed paths: M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCache.java Log Message: ----------- Use getExtensionList instead of getInjector Specific call copy-pasted from workflow-cps's StepDescriptorCache. Commit: a3cbbb287877b421a574856e6f29e63258dfb8cc https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/a3cbbb287877b421a574856e6f29e63258dfb8cc Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2017-01-10 (Tue, 10 Jan 2017) Changed paths: M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCache.java Log Message: ----------- Actually do what Bobby said. =) Commit: 430377d87585baf1b13d93b708aae4651546052a https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/430377d87585baf1b13d93b708aae4651546052a Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2017-01-10 (Tue, 10 Jan 2017) Changed paths: M pipeline-model-api/pom.xml A pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DescriptorLookupCache.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/AbstractModelASTCodeBlock.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTNamedArgumentList.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTStep.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTTreeStep.java M pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidator.java M pipeline-model-declarative-agent/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/DeclarativeAgentDescriptor.java M pipeline-model-definition/pom.xml M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidatorImpl.groovy M pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/Any.java M pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/Label.java M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterActionStepsTest.java M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/validator/JSONValidationTest.java M pipeline-model-definition/src/test/resources/json/agentAny.json M pipeline-model-definition/src/test/resources/json/agentDocker.json M pipeline-model-definition/src/test/resources/json/agentLabel.json M pipeline-model-definition/src/test/resources/json/agentNoneWithNode.json A pipeline-model-definition/src/test/resources/json/agentTypeOrdering.json M pipeline-model-definition/src/test/resources/json/basicWhen.json M pipeline-model-definition/src/test/resources/json/environmentInStage.json M pipeline-model-definition/src/test/resources/json/errors/agentMissingRequiredParam.json M pipeline-model-definition/src/test/resources/json/errors/agentUnknownParamForType.json M pipeline-model-definition/src/test/resources/json/errors/emptyEnvironment.json M pipeline-model-definition/src/test/resources/json/errors/emptyJobProperties.json M pipeline-model-definition/src/test/resources/json/errors/emptyParameters.json M pipeline-model-definition/src/test/resources/json/errors/emptyPostBuild.json M pipeline-model-definition/src/test/resources/json/errors/emptyTriggers.json M pipeline-model-definition/src/test/resources/json/errors/invalidBuildCondition.json M pipeline-model-definition/src/test/resources/json/errors/invalidParameterTypeMethodCall.json M pipeline-model-definition/src/test/resources/json/errors/invalidWrapperType.json M pipeline-model-definition/src/test/resources/json/errors/missingAgent.json M pipeline-model-definition/src/test/resources/json/errors/missingRequiredMethodCallArg.json M pipeline-model-definition/src/test/resources/json/errors/missingRequiredStepParameters.json M pipeline-model-definition/src/test/resources/json/errors/missingStages.json M pipeline-model-definition/src/test/resources/json/errors/mixedMethodArgs.json M pipeline-model-definition/src/test/resources/json/errors/notInstalledToolType.json M pipeline-model-definition/src/test/resources/json/errors/notInstalledToolVersion.json M pipeline-model-definition/src/test/resources/json/errors/notificationsSectionRemoved.json M pipeline-model-definition/src/test/resources/json/errors/perStageConfigUnknownSection.json M pipeline-model-definition/src/test/resources/json/errors/rejectParallelMixedInSteps.json M pipeline-model-definition/src/test/resources/json/errors/rejectPropertiesStepInMethodCall.json M pipeline-model-definition/src/test/resources/json/errors/rejectStageInSteps.json M pipeline-model-definition/src/test/resources/json/errors/stageWithoutName.json M pipeline-model-definition/src/test/resources/json/errors/unknownAgentType.json M pipeline-model-definition/src/test/resources/json/errors/unknownBareAgentType.json M pipeline-model-definition/src/test/resources/json/errors/unknownStepParameter.json M pipeline-model-definition/src/test/resources/json/errors/unlistedToolType.json M pipeline-model-definition/src/test/resources/json/errors/wrongParameterNameMethodCall.json M pipeline-model-definition/src/test/resources/json/globalLibrarySuccess.json M pipeline-model-definition/src/test/resources/json/legacyMetaStepSyntax.json M pipeline-model-definition/src/test/resources/json/metaStepSyntax.json M pipeline-model-definition/src/test/resources/json/multipleVariablesForAgent.json M pipeline-model-definition/src/test/resources/json/multipleWrappers.json M pipeline-model-definition/src/test/resources/json/parallelPipeline.json M pipeline-model-definition/src/test/resources/json/parallelPipelineQuoteEscaping.json M pipeline-model-definition/src/test/resources/json/parallelPipelineWithFailFast.json M pipeline-model-definition/src/test/resources/json/parallelPipelineWithSpaceInBranch.json M pipeline-model-definition/src/test/resources/json/perStageConfigAgent.json M pipeline-model-definition/src/test/resources/json/simpleEnvironment.json M pipeline-model-definition/src/test/resources/json/simpleJobProperties.json M pipeline-model-definition/src/test/resources/json/simpleParameters.json M pipeline-model-definition/src/test/resources/json/simplePipeline.json M pipeline-model-definition/src/test/resources/json/simplePostBuild.json M pipeline-model-definition/src/test/resources/json/simpleScript.json M pipeline-model-definition/src/test/resources/json/simpleTools.json M pipeline-model-definition/src/test/resources/json/simpleTriggers.json M pipeline-model-definition/src/test/resources/json/simpleWrapper.json M pipeline-model-definition/src/test/resources/json/skippedWhen.json M pipeline-model-definition/src/test/resources/json/steps/arrayEcho.json M pipeline-model-definition/src/test/resources/json/steps/simpleEcho.json M pipeline-model-definition/src/test/resources/json/steps/simpleScript.json M pipeline-model-definition/src/test/resources/json/stringsNeedingEscapeLogic.json M pipeline-model-definition/src/test/resources/json/toolsInStage.json M pipeline-model-definition/src/test/resources/json/twoStagePipeline.json M pipeline-model-definition/src/test/resources/json/validStepParameters.json M pipeline-model-definition/src/test/resources/json/whenBranch.json M pipeline-model-definition/src/test/resources/json/whenEnv.json Log Message: ----------- Merge pull request #87 from abayer/jenkins-40573 [FIXED JENKINS-40573] Re-do step arguments to always be named in JSON representation. Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/f522c276f734...430377d87585 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.