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

GitLab Pipeline Status will set to success after second checkout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • gitlab-plugin
    • None
    • Jenkins 2.346.1 (Windows)
      xunit 3.0.6 / 3.1.0

      I've no idea if this is really a problem of the xunit plugin, but the problematic behavior is since the update of xunit from 3.0.5 to 3.0.6 (also reproduceable with 3.1.0)

      I have two stages with checkout scm and a stage with a xunit call in between. After the second checkout the whole pipeline will marked as success even the pipeline is not finished.

      I've attached a sample Jenkinsfile and the log files with different xunit versions.

        1. 3.0.5-good.png
          3.0.5-good.png
          44 kB
        2. 3.0.5-log.txt
          7 kB
        3. 3.0.6-bad.png
          3.0.6-bad.png
          39 kB
        4. 3.0.6-log.txt
          7 kB
        5. image-2022-09-27-14-15-24-120.png
          image-2022-09-27-14-15-24-120.png
          29 kB
        6. Jenkinsfile
          0.9 kB
        7. pipeline script.png
          pipeline script.png
          10 kB
        8. pipeline script.txt
          0.2 kB
        9. pipeline script log v3.0.5.png
          pipeline script log v3.0.5.png
          8 kB
        10. pipeline script log v3.0.6.png
          pipeline script log v3.0.6.png
          8 kB

            jequals5 Marky Jackson
            b8erni burn hard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: