[JIRA] (JENKINS-60609) Azure Artifacts download url is incorrect when there are "/" in git branch of multibranch pipeline

5 views
Skip to first unread message

chuanlixu@126.com (JIRA)

unread,
Dec 30, 2019, 9:19:02 AM12/30/19
to jenkinsc...@googlegroups.com
david xu created an issue
 
Jenkins / Bug JENKINS-60609
Azure Artifacts download url is incorrect when there are "/" in git branch of multibranch pipeline
Issue Type: Bug Bug
Assignee: Jie Shen
Attachments: Screen Shot 2019-12-30 at 10.14.35 PM.png
Components: azure-artifact-manager-plugin, workflow-multibranch-plugin
Created: 2019-12-30 14:18
Environment: Jenkins: 2.190.3, Azure Artifact Manager: 1.0.4, Pipeline Multibranch: 2.21, Agent OS: Ubuntu with Open JDK 8
Labels: plugin
Priority: Major Major
Reporter: david xu

In the multibranch pipeline jobs, when there are "/" in branch, for example: branch "test/dennisxu",  the download url will be <azure blob url>/test%2Fdennisxu/1//test. , which can not be downloaded. While I change the above url to <azure blob url>/test%252Fdennisxu/1//test., it can be downloaded.

I think there is a bug when the Azure Artifact Manager generate the download url for multibranch pipeline jobs which contains "/" in branch, and the "/" seems not be escaped correctly.

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

jieshe@microsoft.com (JIRA)

unread,
Dec 31, 2019, 2:43:02 AM12/31/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-60609
 
Re: Azure Artifacts download url is incorrect when there are "/" in git branch of multibranch pipeline

Thanks for reporting this issue. The fix has been released as 0.1.5.

jieshe@microsoft.com (JIRA)

unread,
Dec 31, 2019, 2:43:03 AM12/31/19
to jenkinsc...@googlegroups.com
Jie Shen resolved as Fixed
 
Change By: Jie Shen
Status: Open Resolved
Resolution: Fixed
Released As: 0.1.5

chuanlixu@126.com (JIRA)

unread,
Jan 2, 2020, 2:38:02 AM1/2/20
to jenkinsc...@googlegroups.com
david xu commented on Bug JENKINS-60609
 
Re: Azure Artifacts download url is incorrect when there are "/" in git branch of multibranch pipeline

I have validated this bug was fixed. Thanks for your efficient work!

Reply all
Reply to author
Forward
0 new messages