Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39120

Loading a script with the fromGit method causes job to run when that repo is pushed to

XMLWordPrintable

      I have a job that uses a Jenkinsfile from SCM and is triggered by pushes to github. This Jenkinsfile uses the pipeline remote loader plugin to load a shared library from a different git repo.

      When changes are pushed to either repo, the job is triggered. This is undesirable behavior. Repositories used by the remote loader plugin should NOT cause jobs to trigger when pushed to. Or, at the very least, this should be an option that can be passed in (like polling=false with the normal git step).

            escoem Emilio Escobar
            jacobfike Jacob Fike
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: