On Wed, Jan 24, 2018 at 12:10 PM, Jean-Karlo Accetta <jeankarlo.acce...@gmail.com> wrote: > I tried using System.getProperty() but that didn't really work either
Certainly not—that would be a system property global to the master JVM! Try: http://javadoc.jenkins.io/hudson/model/Run.html#getEnvironment-hudson.model.TaskListener- http://javadoc.jenkins.io/hudson/EnvVars.html#expand-java.lang.String- If implementing `SimpleBuildStep` for Pipeline compatibility, do this only for an `AbstractBuild`: https://jenkins.io/doc/developer/plugin-development/pipeline-integration/#variable-substitutions Also see: https://issues.jenkins-ci.org/browse/JENKINS-35671 -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1V%2BObK3_nY6pFJ8i4k4wi6A5HV0fOnfWHoGip5FJBn7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.