• 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 added a comment -

          lewiscowles1986 I am assuming that this is provided by the HTML publisher plugin?

          James Dumay added a comment - lewiscowles1986 I am assuming that this is provided by the HTML publisher plugin ?
          James Dumay made changes -
          Epic Link New: JENKINS-40108 [ 176745 ]
          James Dumay made changes -
          Component/s New: htmlpublisher-plugin [ 15681 ]

          Lewis Cowles added a comment -

          Hello, yes it is sorry I didn't know I could multi-select from that area

          Lewis Cowles added a comment - Hello, yes it is sorry I didn't know I could multi-select from that area
          Liam Newman made changes -
          Link New: This issue relates to JENKINS-42242 [ JENKINS-42242 ]

          Michael Neale added a comment -

          thanks lewiscowles1986 - would it suffice to open the HTML report in a new tab or do you see it embedded in an iframe type of thing? 

          Michael Neale added a comment - thanks lewiscowles1986 - would it suffice to open the HTML report in a new tab or do you see it embedded in an iframe type of thing? 

          Lewis Cowles added a comment -

          That sounds great Michael Neale!

          Lewis Cowles added a comment - That sounds great Michael Neale!

          I'm surprised that this has a low priority. For me it's almost the only reason I have to go back to the old frontend.

          Marco Bachmann added a comment - I'm surprised that this has a low priority. For me it's almost the only reason I have to go back to the old frontend.
          Michael Neale made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

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

              Created:
              Updated: