Credentialid with github is not working in pipeline script on jenkins slave

2017-07-07 Thread Hound G
I am testing pipeline configuration script with below code, #!groovy node("jenkins-slave") { try { stage("Checkout") { checkout([$class: 'GitSCM', branches: [[name: 'test']], doGenerateSubmoduleConfigurations: false, userRemoteConfigs: [[ credentialsId: '6a

Re: Credentialid with github is not working in pipeline script on jenkins slave

2017-07-11 Thread Hound G
I am observing this issue with freestyle job as well. Username & password (provided through credentials plugin) is not working with github git cloning. Any help will be highly appreciated. Thanks, Hound On Friday, July 7, 2017 at 5:48:19 PM UTC-7, Hound G wrote: > > I am testin

How to automatically calculating maven release build version through jenkins pipeline build

2017-07-22 Thread Hound G
I am trying to write a pipeline script which does "Perform Maven Release" functionality. I am unable to figure out a way to automatically calculate release version like the maven plugin does. Can anyone help ? Thanks, Hound -- You received this message because you are subscribed to the Googl