I was doing something wrong and EnvironmentContributor should help with Sorry for the noise On Wednesday, 14 April 2021 at 17:29:07 UTC+1 Victor Martinez wrote:
> Hi all, > > I'm defining some env variables with the StepEnvironmentContributor but > unfortunately I cannot use them with the env.VARIABLE_NAME approach. > Although they are accessible when I run an sh step such ash `sh 'echo > $VARIABLE_NAME'` > > The class with the implementation can be found in > https://github.com/jenkinsci/opentelemetry-plugin/blob/master/src/main/java/io/jenkins/plugins/opentelemetry/job/OtelStepEnvironmentContributor.java > > Is that the expected behaviour or I'm doing something wrong? > > Thanks > > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e49e89f9-7ec2-4972-8a4f-096afec06cafn%40googlegroups.com.
