Re: Tagging code in a pipeline?

2019-03-23 Thread Mark Waite
https://jenkins.io/doc/pipeline/examples/#push-git-repo gives an example of both https and ssh On Saturday, March 23, 2019 at 11:20:27 AM UTC-6, Rade Milijasevic wrote: > > Can somebody please give an example code for both https:// url and ssh > approach. > thanks > > On Fri, Mar 22, 2019 at 5:

Re: Tagging code in a pipeline?

2019-03-23 Thread Mark Waite
https://jenkins.io/doc/pipeline/examples/#push-git-repo provides examples of ssh and https. Mark Waite On Thursday, March 21, 2019 at 12:51:42 PM UTC-6, Robert Nicholson wrote: > > I am able to tag the code locally but the push with credentials key based > seems to be an issue. > > sshagent([‘

Re: Tagging code in a pipeline?

2019-03-23 Thread Rade Milijasevic
Can somebody please give an example code for both https:// url and ssh approach. thanks On Fri, Mar 22, 2019 at 5:11 PM Robert Nicholson wrote: > I haven’t tried any ssh: url based approach yet. > > but the approaches I’ve seen are when you use GIT_SSH etc to inject your > own private key into t