I'm wondering at what stage Pipeline job registers Git repository so it could be reached when triggering via `
https://jenkins/git/notifyCommit?url=...` URL.
In my code I'm setting properties before calling `checkout` and sometimes I'm observing that Jenkins stops recognize repository as it ignores incomings triggers. Could this be somehow related?
Usually this happens when builds is aborted and to "fix" it I need to rebuilt it manually.
Snippet from my Pipeline configuration:
...
properties([
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '100')),
parameters([
string(defaultValue: '', description: '', name: 'PARAMETER')
]),
pipelineTriggers([[$class:"SCMTrigger", scmpoll_spec:""]]),
])
node {
stage(name: 'checkout') {
checkout (
[$class: 'GitSCM', ...
...
ps. It's not Multibranch Pipeline.