Can we have script block or credential block to perform some logic inside the environment stage in Jenkinsfile? When I tried, it kept throwing errors saying only variable=value kind of expressions are allowed inside the environment stage. I want to read a Yaml file inside the environment stage since it is at the very beginning, to get some variable values. Please help.
Regards, Venkatesh -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAPp28eqAKiOCd%2BN5nYnkMCtytQVXCyo1KFg8KJ2Q-mtuWQkENA%40mail.gmail.com.
