-
Improvement
-
Resolution: Unresolved
-
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
- relates to
-
JENKINS-42242 SauceLabs results not displayed on Blue Ocean
-
- Open
-
- links to
[JENKINS-40616] publishHTML on blueocean
Epic Link | New: JENKINS-40108 [ 176745 ] |
Component/s | New: htmlpublisher-plugin [ 15681 ] |
Link | New: This issue relates to JENKINS-42242 [ JENKINS-42242 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Epic Link | Original: JENKINS-40108 [ 176745 ] | New: JENKINS-43952 [ 181484 ] |
Assignee | New: James Dumay [ jamesdumay ] |
Sprint | New: Blue Ocean 1.2-beta5 [ 376 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
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 |