Git repo maintains origin/develop branch copy for develop branch.
git push origin develop from my laptop, sync up origin/develop branch
When I create a webhook(web integrations option) on GitLab portal with Jenkins, I see branches develop, master etc... but not origin\develop or origin/master.
I select develop branch and select "push events" and web hook
As per console log,
Checking out Revision 3fffffffffffffhjggjj3fffffffffffffhjggjj (refs/remotes/origin/develop) is shown in Jenkins, on webhook trigger,
for the corresponding groovy script git(branch: 'develop', credentialsId: credential, url: "${gitLabServer}/${projName}/${repoName}.git")
When user says, git push origin develop on his laptop,
Is webhook triggering jenkins pipeline on push event to origin/develop? Because I didn't create webhook for origin/develop... in pipeline I checkout code from develop branch