Re: Not able to push to GIT repo using 'withcredentials'

2017-05-08 Thread ishan jain
Hi, I changed my code to post it here and during that i changed the dir name. I wouldn't worry about naming standards yet, the bigger problem for me is that it is not working. I saw some code snippets claiming withcredentials to be working the way i have posted. Don't know what is the issue he

Re: Not able to push to GIT repo using 'withcredentials'

2017-05-05 Thread Ramanathan Muthaiah
On Friday, May 5, 2017 at 3:32:36 PM UTC+5:30, ishan jain wrote: > > I am trying to push some tags back to repository and for obvious reasons, > i would like to keep my usernam/pass hidden. I use withcredentials for this > and the code looks like this: > > checkout([$class: 'GitSCM', branches: [[

Not able to push to GIT repo using 'withcredentials'

2017-05-05 Thread ishan jain
I am trying to push some tags back to repository and for obvious reasons, i would like to keep my usernam/pass hidden. I use withcredentials for this and the code looks like this: checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [