[JIRA] (JENKINS-51066) pipeline-editor always commit to default jenkinsfile

4 views
Skip to first unread message

zhaoshen@shanghai-electric.com (JIRA)

unread,
May 2, 2018, 6:26:03 AM5/2/18
to jenkinsc...@googlegroups.com
Sam Zhao created an issue
 
Jenkins / Bug JENKINS-51066
pipeline-editor always commit to default jenkinsfile
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: screenshot1.png, screenshot2.png, screenshot3.png, screenshot4.png
Components: blueocean-pipeline-editor-plugin
Created: 2018-05-02 10:25
Environment: Jenkins ver. 2.73.3
BlueOcean 1.5.0 - Core 2.73.3
Labels: jenkins blueocean-imported
Priority: Major Major
Reporter: Sam Zhao

Hi,

When we use more than one Jenkinsfile in different jobs, you can see screenshot 1, pipeline scans the right 'Jenkinsfile-prd' for example(screenshot2). And when execute the pipeline it also use the right 'Jenkinsfile-prd'(screenshot3).

But when use http://<jenkins_url>/blue/organizations/jenkins/pipeline-editor/<jobname>/<branch> to edit pipeline, it always shows the default Jenkinsfile and only can commit to default Jenkinsfile.(screenshot4).

It seems /blue/organizations/jenkins/pipeline-editor/ always read the default Jenkinsfile and ignored the Build Configuration--Script Path.

The difference between 2 Jenkinsfiles are environment: env in this example.

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

zhaoshen@shanghai-electric.com (JIRA)

unread,
May 2, 2018, 7:31:02 AM5/2/18
to jenkinsc...@googlegroups.com
Sam Zhao started work on Bug JENKINS-51066
 
Change By: Sam Zhao
Status: Open In Progress

zhaoshen@shanghai-electric.com (JIRA)

unread,
May 2, 2018, 7:31:03 AM5/2/18
to jenkinsc...@googlegroups.com
Sam Zhao stopped work on Bug JENKINS-51066
 
Change By: Sam Zhao
Status: In Progress Open

wangyouyou@souche.com (JIRA)

unread,
Jul 3, 2018, 6:15:03 AM7/3/18
to jenkinsc...@googlegroups.com
Wang Youyou updated an issue
Change By: Wang Youyou
Attachment: JenkinsBug2.png
Attachment: jenkinsBUG1.png
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

wangyouyou@souche.com (JIRA)

unread,
Jul 3, 2018, 6:22:01 AM7/3/18
to jenkinsc...@googlegroups.com
Wang Youyou commented on Bug JENKINS-51066
 
Re: pipeline-editor always commit to default jenkinsfile

I have the same problem.
And i found that it was EditorPage.jsx that did not specify the path parameter.

ScmContentApi.js:

EditorPage.jsx:

wangyouyou@souche.com (JIRA)

unread,
Jul 3, 2018, 6:24:01 AM7/3/18
to jenkinsc...@googlegroups.com

kzantow@cloudbees.com (JIRA)

unread,
Jul 3, 2018, 9:27:03 AM7/3/18
to jenkinsc...@googlegroups.com
Keith Zantow assigned an issue to Unassigned
Change By: Keith Zantow
Assignee: Keith Zantow

kzantow@cloudbees.com (JIRA)

unread,
Jul 3, 2018, 9:28:02 AM7/3/18
to jenkinsc...@googlegroups.com
Keith Zantow updated an issue
Change By: Keith Zantow
Component/s: blueocean-plugin

wangyouyou@souche.com (JIRA)

unread,
Jul 3, 2018, 11:26:03 PM7/3/18
to jenkinsc...@googlegroups.com

wangyouyou@souche.com (JIRA)

unread,
Jul 3, 2018, 11:27:02 PM7/3/18
to jenkinsc...@googlegroups.com

wangyouyou@souche.com (JIRA)

unread,
Jul 3, 2018, 11:28:01 PM7/3/18
to jenkinsc...@googlegroups.com

blindov@gmail.com (JIRA)

unread,
Jul 6, 2018, 4:41:02 AM7/6/18
to jenkinsc...@googlegroups.com

kshultz@cloudbees.com (JIRA)

unread,
Aug 27, 2018, 12:45:02 PM8/27/18
to jenkinsc...@googlegroups.com

This looks to be a more in-depth write up of the previously-existing JENKINS-50328, We should probably close one or the other of them.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

petersens@rocketmail.com (JIRA)

unread,
Jan 30, 2020, 12:18:03 AM1/30/20
to jenkinsc...@googlegroups.com
J P commented on Bug JENKINS-51066

Submitted PR with potential fix here: https://github.com/jenkinsci/blueocean-plugin/pull/2049

 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

petersens@rocketmail.com (JIRA)

unread,
Feb 10, 2020, 3:28:05 PM2/10/20
to jenkinsc...@googlegroups.com
J P closed an issue as Fixed
 

Fixed in BlueOcean 1.22.0

Change By: J P
Status: Open Closed
Resolution: Fixed
Released As: https://github.com/jenkinsci/blueocean-plugin/releases/tag/blueocean-parent-1.22.0
Reply all
Reply to author
Forward
0 new messages