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
          44 kB
          burn hard
        2. 3.0.5-log.txt
          7 kB
          burn hard
        3. 3.0.6-bad.png
          39 kB
          burn hard
        4. 3.0.6-log.txt
          7 kB
          burn hard
        5. image-2022-09-27-14-15-24-120.png
          29 kB
          burn hard
        6. Jenkinsfile
          0.9 kB
          burn hard
        7. pipeline script.png
          10 kB
          burn hard
        8. pipeline script.txt
          0.2 kB
          burn hard
        9. pipeline script log v3.0.5.png
          8 kB
          burn hard
        10. pipeline script log v3.0.6.png
          8 kB
          burn hard

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

              Created:
              Updated:
              Resolved: