Closed rawlingsj closed 7 years ago
I guess when we're in a multi project Jenkinsfile we can't use the Job SCM URL but maybe we can use another way, using the git info?
Added function to get push url into Fabric8Commands - https://github.com/fabric8io/fabric8-pipeline-library/commit/643c6f6a9ca5c1f2f9c8e4d063d36ae640bb8a65
In our Jenkinsfiles we set the remote git origin URL like so https://github.com/fabric8io/fabric8-forge/blob/v2.2.192/Jenkinsfile#L5
It would be better to create a function that does this by using the SCM url - nice idea @rhuss !