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

Silent data loss on repeated invocations

XMLWordPrintable

      Recent backward incompatible change, causes RTP command to overwrite previously collected report, leading to data loss from previous invocations.

      Test steps

      Execute a pipeline

      pipeline {
          agent any
          stages {
              stage('Publish') {
                  steps {
                      script {
                          rtp nullAction: '1', parserName: 'HTML', stableText: '<b>Artifact 1: </b><a href=http://artifactory/rtp-test1><b>http://artifactory/rtp-test1</b></a>'
      
                          rtp nullAction: '1', parserName: 'HTML', stableText: '<b>Artifact 2: </b><a href=http://artifactory/rtp-test2><b>http://artifactory/rtp-test2</b></a> '
                      }
                  }
              }
          }
      } 

      Expected result

      Artifact 1: http://artifactory/rtp-test1
      Artifact 2: http://artifactory/rtp-test2
      

      Actual result

      Artifact 2: http://artifactory/rtp-test2 

       

            Unassigned Unassigned
            basilevs Vasili Gulevich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: