[JIRA] (JENKINS-53078) url encoded string doesn't work in powershell script

3 views
Skip to first unread message

bharatbhatia18@gmail.com (JIRA)

unread,
Aug 16, 2018, 4:12:01 PM8/16/18
to jenkinsc...@googlegroups.com
Bharat Bhatia created an issue
 
Jenkins / Bug JENKINS-53078
url encoded string doesn't work in powershell script
Issue Type: Bug Bug
Assignee: Unassigned
Components: powershell-plugin
Created: 2018-08-16 20:11
Priority: Minor Minor
Reporter: Bharat Bhatia

The url encoded string doesnt work with powershell plugin. Gitlap api need project name in url encoded format. https://docs.gitlab.com/ee/api/README.html#namespaced-path-encoding

powershell '''

curl "https://gitlanb.com/group%2fprojectname"

'''

 

above script always return 404 even thought path is correctly encoded and exists.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

bharatbhatia18@gmail.com (JIRA)

unread,
Aug 16, 2018, 4:12:02 PM8/16/18
to jenkinsc...@googlegroups.com
Bharat Bhatia updated an issue
Change By: Bharat Bhatia
The url encoded string doesnt work with powershell plugin. Gitlap api need project name in url encoded format. [https://docs.gitlab.com/ee/api/README.html#namespaced-path-encoding]

powershell '''

curl "https:// gitlanb gitlab .com/group%2fprojectname"


'''

 

above script always return 404 even thought path is correctly encoded and exists.

ddigtiar@cloudbees.com (JIRA)

unread,
Sep 3, 2019, 12:26:01 AM9/3/19
to jenkinsc...@googlegroups.com
Denys Digtiar updated an issue
Change By: Denys Digtiar
Labels: powershell
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ddigtiar@cloudbees.com (JIRA)

unread,
Sep 3, 2019, 12:26:02 AM9/3/19
to jenkinsc...@googlegroups.com
Denys Digtiar updated an issue
Change By: Denys Digtiar
Component/s: durable-task-plugin
Component/s: powershell-plugin
Reply all
Reply to author
Forward
0 new messages