Re: Git plugin issue in pipeline

2017-06-29 Thread Abhijith Reddy
Thanks @Mark. I switched to using refspecs and it seems to have addressed the issue. On Tuesday, June 27, 2017 at 5:53:07 PM UTC-4, Abhijith Reddy wrote: > > Whenever i specify a branch with GitSCM i see the following issue > Couldn't find any revision to build. Verify the repository a

Git plugin issue in pipeline

2017-06-27 Thread Abhijith Reddy
Whenever i specify a branch with GitSCM i see the following issue Couldn't find any revision to build. Verify the repository and branch configuration for this job. Here's my Jenkinsfile node { deleteDir() checkout([$class: 'GitSCM', branches: [[name: 'feature/my-branch]],