Re: How can I inject environment variables into my groovy class?

2017-12-02 Thread red 888
"In the pipeline there’s the global variable `env` which is a map of all the currently declared environment variables (JOB_NAME etc) you could pass into your class." Is there a way to do that so all those envs are imported and accessible in the class like they are system variables? For example

Re: Jenkins Multibranch Project Ignoring Branch That Was Deactivated Then Removed But Now We Need It Back

2017-12-02 Thread Stephen Connolly
On Sat 2 Dec 2017 at 08:37, wrote: > We have a Jenkins multibranch project that tracks a bunch of private > repositories. One of the branches (development) was somehow disabled in > Jenkins. There was a warning in the UI and the name of the branch had a > line through it. We could not re-enable t

Jenkins Multibranch Project Ignoring Branch That Was Deactivated Then Removed But Now We Need It Back

2017-12-02 Thread troym
We have a Jenkins multibranch project that tracks a bunch of private repositories. One of the branches (development) was somehow disabled in Jenkins. There was a warning in the UI and the name of the branch had a line through it. We could not re-enable the branch so we removed the branch and th