Branch: refs/heads/master Home: https://github.com/jenkinsci/envinject-lib Commit: f4386942fc8a32d65f99fd974b9d337ecc508cfb https://github.com/jenkinsci/envinject-lib/commit/f4386942fc8a32d65f99fd974b9d337ecc508cfb Author: Devin Nusbaum <dwnusb...@users.noreply.github.com> Date: 2017-10-06 (Fri, 06 Oct 2017)
Changed paths: M src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java Log Message: ----------- [JENKINS-46479] Prevent environment variables from being deleted on existing builds (#11) * Load env vars from disk before saving so they aren't deleted if the cached value is wrong * Revert "Load env vars from disk before saving so they aren't deleted if the cached value is wrong" I think it is better to have onLoad intialize envMap and keep writeReplace the same. This reverts commit dab1c21d1a1b1e35cfdada95ec3ef3be77dc70e2. * Set envMap after the build is set in onLoad * Revert "Set envMap after the build is set in onLoad" This reverts commit faa98738e8355d80d52e796d0d2dcff03e71318e. * Revert "Revert "Load env vars from disk before saving so they aren't deleted if the cached value is wrong"" This reverts commit 01dee1a5da0e3dc709223c56fc1193ce623c2b4f. * Cache the result of getEnvMap so we don't keep loading from disk -- 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.