[JIRA] (JENKINS-43000) publishHTML on blueocean pipeline editor crashes

1 view
Skip to first unread message

bitwiseman@gmail.com (JIRA)

unread,
Mar 21, 2017, 5:32:01 PM3/21/17
to jenkinsc...@googlegroups.com
Liam Newman created an issue
 
Jenkins / Bug JENKINS-43000
publishHTML on blueocean pipeline editor crashes
Issue Type: Bug Bug
Assignee: James Dumay
Attachments: Screen Shot 2017-03-21 at 1.41.48 PM.png
Components: blueocean-pipeline-editor-plugin
Created: 2017/Mar/21 9:31 PM
Environment: blue ocean rc1
Priority: Major Major
Reporter: Liam Newman

In my repository (https://github.com/bitwiseman/hermann), I went to edit an existing pipeline in the branch "blog/declarative/html".

In this pipeline I have the following: 

      post {
        success {
          // publish html
          publishHTML target: [
              allowMissing: false,
              alwaysLinkToLastBuild: false,
              keepAll: true,
              reportDir: 'coverage',
              reportFiles: 'index.html',
              reportName: 'RCov Report'
            ]
        }
      }

I then saved that pipeline to the branch issue/blue-ocean-editor/html .
On save, the editor converted that to:

      post {
        success {
          publishHTML([
                          allowMissing: false,
                          alwaysLinkToLastBuild: false,
                          keepAll: true,
                          reportDir: 'coverage',
                          reportFiles: 'index.html',
                          reportName: 'RCov Report'
                        ])
            
          }
          
        }

 
When I try to edit that converted pipeline again, I get the error shown in the attached screenshot and cannot edit the pipeline anymore.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jdumay@cloudbees.com (JIRA)

unread,
Mar 21, 2017, 6:15:05 PM3/21/17
to jenkinsc...@googlegroups.com
James Dumay updated an issue
Change By: James Dumay
Sprint: Blue Ocean 1.0-rc2

andrew.bayer@gmail.com (JIRA)

unread,
Mar 21, 2017, 7:13:01 PM3/21/17
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Bug JENKINS-43000
 
Re: publishHTML on blueocean pipeline editor crashes

This is related to JENKINS-41456 - perhaps a more general case.

jdumay@cloudbees.com (JIRA)

unread,
Mar 21, 2017, 9:46:02 PM3/21/17
to jenkinsc...@googlegroups.com
James Dumay assigned an issue to Andrew Bayer
 

Another conversion issue I suspect is related to declarative rather than the editor. Feel free to bounce this back to me Andrew Bayer if thats not the case.

Change By: James Dumay
Component/s: pipeline-model-definition-plugin
Component/s: blueocean-pipeline-editor-plugin
Assignee: James Dumay Andrew Bayer

andrew.bayer@gmail.com (JIRA)

unread,
Mar 21, 2017, 10:03:01 PM3/21/17
to jenkinsc...@googlegroups.com
Andrew Bayer resolved as Duplicate
 

So yeah, this is a dupe of JENKINS-41456 which I just realized I could fix. So yay!

Change By: Andrew Bayer
Status: Open Resolved
Resolution: Duplicate

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:06 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Duplicate
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages