Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53078

url encoded string doesn't work in powershell script

      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://gitlab.com/group%2fprojectname"

      '''

       

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

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

          Bharat Bhatia created issue -
          Bharat Bhatia made changes -
          Description Original: 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.
          New: 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://gitlab.com/group%2fprojectname"

          '''

           

          above script always return 404 even thought path is correctly encoded and exists.
          Denys Digtiar made changes -
          Component/s New: durable-task-plugin [ 18622 ]
          Component/s Original: powershell-plugin [ 16044 ]
          Denys Digtiar made changes -
          Labels New: powershell

            Unassigned Unassigned
            xs2bharat Bharat Bhatia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: