Branch: refs/heads/master
Home: https://github.com/jenkinsci/pipeline-model-definition-plugin
Commit: 03f4dcf0fc9dc9e72e03dd7ee0be82f8a9ee5357
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/03f4dcf0fc9dc9e72e03dd7ee0be82f8a9ee5357
Author: Andrew Bayer <[email protected]>
Date: 2017-10-04 (Wed, 04 Oct 2017)
Changed paths:
M
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/Environment.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/EnvironmentTest.java
A pipeline-model-definition/src/test/resources/readFileInEnv-data.txt
A pipeline-model-definition/src/test/resources/readFileInEnv.groovy
Log Message:
-----------
[FIXED JENKINS-47202] Switch to HashMaps for env to fix serialization
TreeMap#Entry isn't serializable, which can bite you in the weirdest
places. Like here - if `environment` variable values end up triggering
a program save, tada, you get a `NotSerializableException`. Which is
bad. I can't reproduce this consistently - maybe 3 times out of 4,
it'll fail. But this fix has yet to reproduce the error after 20+
attempts, so I think it's good.
Commit: 3aabd8d82c628c0a758fb60791a38293ea4c9b6d
https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/3aabd8d82c628c0a758fb60791a38293ea4c9b6d
Author: Andrew Bayer <[email protected]>
Date: 2017-10-04 (Wed, 04 Oct 2017)
Changed paths:
M
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/Environment.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/EnvironmentTest.java
A pipeline-model-definition/src/test/resources/readFileInEnv-data.txt
A pipeline-model-definition/src/test/resources/readFileInEnv.groovy
Log Message:
-----------
Merge pull request #204 from abayer/jenkins-47202
[FIXED JENKINS-47202] Switch to HashMaps for env to fix serialization
Compare:
https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/a90828ba1ba3...3aabd8d82c62
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.