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

Gitlub plugin doesn't work correctly ,when the job is triggered from "Pipeline Events"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • gitlab-plugin
    • None

      I have a project in Gitlab, which i want to trigger the Jenkins job after every successful pipeline. Also i want to send the status of the Jenkins job back to my gitlab plugin and for this purpose i'm using the "Publish build status to Gitlab". This option adds the "external" stage in gitlab pipeline.

      But the problem is, that if your Jenkins job is successful, the "external" stage becomes successful too and triggers the same job in jenkins, cause the pipeline success event was created again. 

      So this loop never ends.

            owenmehegan Owen Mehegan
            290780 Zhenya Tesyolkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: