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.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/811ee255-d01d-4a31-8e73-08de17bf6efc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.