Branch: refs/heads/master Home: https://github.com/jenkinsci/pipeline-model-definition-plugin Commit: a65345b7e3617c4b80df204f6e396a7f7209cec7 https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/a65345b7e3617c4b80df204f6e396a7f7209cec7 Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2018-11-28 (Wed, 28 Nov 2018)
Changed paths: M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/Agent.groovy M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ASTParserUtils.groovy M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy M pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java A pipeline-model-definition/src/test/resources/paramInAgentLabel.groovy Log Message: ----------- [FIXED JENKINS-54919] Process agent configuration on the fly This lets us reference environment variables (well, sorta - you can reference an environment variable defined at the parent level in a stage agent, but not an environment variable defined at the same level) and more immediately, this will allow referencing parameters that have just been added to the Pipeline in this build (well, as long as they have default values set). Basically, this makes Agent work more like StageConditionals by wrapping the map that defines the agent in a closure, and evaluating that closure at the time we actually need to use it, rather than baking the values in when we instantiate the runtime model. Commit: 90bc2c097fbc62c70cfe39c31ac29096cbbc0c18 https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/90bc2c097fbc62c70cfe39c31ac29096cbbc0c18 Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2018-11-28 (Wed, 28 Nov 2018) Changed paths: M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/Agent.groovy Log Message: ----------- Fix serialization and running-during-upgrade compatibility Commit: 3edf61ba3b978a6241ccce227777b5e18625c8f1 https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/3edf61ba3b978a6241ccce227777b5e18625c8f1 Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2018-11-28 (Wed, 28 Nov 2018) Changed paths: M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/Agent.groovy Log Message: ----------- Add an explicit serialVersionUID Commit: ec315c928780b29a61e9edd8556ef70c49e6c964 https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/ec315c928780b29a61e9edd8556ef70c49e6c964 Author: Andrew Bayer <andrew.ba...@gmail.com> Date: 2018-11-28 (Wed, 28 Nov 2018) Changed paths: M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/Agent.groovy M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ASTParserUtils.groovy M pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/RuntimeASTTransformer.groovy M pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy M pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java A pipeline-model-definition/src/test/resources/paramInAgentLabel.groovy Log Message: ----------- Merge pull request #301 from abayer/jenkins-54919 [FIXED JENKINS-54919] Process agent configuration on the fly Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/d5367ac8c31e...ec315c928780 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. -- 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.