show which repo triggered the pipeline. Multi sourced pipeline
in our environment running Jenkins Enterprise 126.96.36.199.1 and GitHub Branch Source Plugin 2.2.6, I have a Jenkins Pipeline triggered by multiple repositories. Any commit on any repo will trigger the Jenkins pipeline.
Inside this pipeline, I need to do some steps on the repo just committed. The problem I have, is I'm not able to understand in the pipeline which repo triggered the pipeline, therefore I can't selectively run all my inner steps on the selected repo. Any hint on how to achieve that?
I've tried with the env variable env.GIT_URL but with no luck.