• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins 2.19.4 (LTS)
      Plugins affected
      io.jenkins.blueocean:blueocean:1.0.0-b14
      org.jenkins-ci.plugins:htmlpublisher:1.11
    • Blue Ocean 1.2

      Ready for release

      This improvement is completed and scheduled for release in 1.2. Check the roadmap page for updates.

      Original request
      I Have a really basic repo I wanted to test with Blue Ocean. As part of the build script

      node {
          stage('Cleanup') {
              sh 'rm -rf ./*'
          }
          stage('Fetch from GitHub') {
              sh 'git clone https://github.com/Lewiscowles1986/julid'
          }
          dir('julid') {
              stage('Test') {
                  sh 'gradle test'
              }
              
              
              stage('Build') {
                  sh 'gradle build'
              }
          }
          stage('Report Gathering') {
              publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'julid/build/reports/tests', reportFiles: 'index.html', reportName: 'JUnit Test Reports'])
              publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'julid/build/reports/jacoco', reportFiles: 'index.html', reportName: 'JaCoCo Coverage Reports'])
          }
          stage('Package') {
              sh 'cd julid && gradle jar'
          }
      }
      

      It still shows in the old UI but not in artifacts or any reports for the Blue Ocean. It's deliberately a really naive example as I am learning and testing new things

          [JENKINS-40616] publishHTML on blueocean

          Lewis Cowles created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-40108 [ 176745 ]
          James Dumay made changes -
          Component/s New: htmlpublisher-plugin [ 15681 ]
          Liam Newman made changes -
          Link New: This issue relates to JENKINS-42242 [ JENKINS-42242 ]
          Michael Neale made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Michael Neale made changes -
          Epic Link Original: JENKINS-40108 [ 176745 ] New: JENKINS-43952 [ 181484 ]
          James Dumay made changes -
          Assignee New: James Dumay [ jamesdumay ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2-beta5 [ 376 ]
          James Dumay made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          James Dumay made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          James Dumay made changes -
          Description Original: I Have a really basic repo I wanted to test with Blue Ocean. As part of the build script

          {code:java}
          node {
              stage('Cleanup') {
                  sh 'rm -rf ./*'
              }
              stage('Fetch from GitHub') {
                  sh 'git clone https://github.com/Lewiscowles1986/julid'
              }
              dir('julid') {
                  stage('Test') {
                      sh 'gradle test'
                  }
                  
                  
                  stage('Build') {
                      sh 'gradle build'
                  }
              }
              stage('Report Gathering') {
                  publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'julid/build/reports/tests', reportFiles: 'index.html', reportName: 'JUnit Test Reports'])
                  publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'julid/build/reports/jacoco', reportFiles: 'index.html', reportName: 'JaCoCo Coverage Reports'])
              }
              stage('Package') {
                  sh 'cd julid && gradle jar'
              }
          }
          {code}


          It still shows in the old UI but not in artifacts or any reports for the Blue Ocean. It's deliberately a really naive example as I am learning and testing new things
          New: {panel:title=Improvement on roadmap|titleBGColor=green|titleColor=white}
          This improvement is completed and scheduled for release in 1.2. Check the [roadmap page|https://jenkins.io/projects/blueocean/roadmap/] for updates.
          {panel}

          I Have a really basic repo I wanted to test with Blue Ocean. As part of the build script

          {code:java}
          node {
              stage('Cleanup') {
                  sh 'rm -rf ./*'
              }
              stage('Fetch from GitHub') {
                  sh 'git clone https://github.com/Lewiscowles1986/julid'
              }
              dir('julid') {
                  stage('Test') {
                      sh 'gradle test'
                  }
                  
                  
                  stage('Build') {
                      sh 'gradle build'
                  }
              }
              stage('Report Gathering') {
                  publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'julid/build/reports/tests', reportFiles: 'index.html', reportName: 'JUnit Test Reports'])
                  publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'julid/build/reports/jacoco', reportFiles: 'index.html', reportName: 'JaCoCo Coverage Reports'])
              }
              stage('Package') {
                  sh 'cd julid && gradle jar'
              }
          }
          {code}


          It still shows in the old UI but not in artifacts or any reports for the Blue Ocean. It's deliberately a really naive example as I am learning and testing new things

            jamesdumay James Dumay
            lewiscowles1986 Lewis Cowles
            Votes:
            31 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated: