Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    breaking forward slash inserted in downloadprogetpackage jenkins plugin

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MaxCasconeM Offline
      MaxCascone
      last edited by

      hi all, i logged this issue on github yesterday:
      https://github.com/Inedo/inedo-docs/issues/115

      When using the download directive in the jenkins plugin, it inserts a forward slash at the start of the destination string, which breaks the download to a windows agent:

      downloadProgetPackage downloadFolder: "${WORKSPACE}/${deployLocation}", 
                                   downloadFormat: 'zip',
                                   feedName: 'PlatDev',
                                   groupName: "Relativity/${env.appName}/${BRANCH_NAME}",
                                   packageName: "${env.appName}",
                                   version: 'Latest'
      
      ${WORKSPACE} == pwd() == D:\workspace\_5649-PS-jenkins-deploy-pipeline
      ${deployLocation} == 'deploy'
      

      Result:

      [ProGet] Download package to /D:\workspace\_5649-PS-jenkins-deploy-pipeline/deploy
      

      has anyone seen this, resolved it?

      I am currently working around it by using the raw url download:

      httpRequest outputFile: "${deployLocation}/${appName}.zip", 
                          responseHandle: 'NONE', 
                          url: 'http://proget.consilio.com/upack/PlatDev/download/Relativity/ProcessingSync/PLATDEV-5649-PS-jenkins-deploy-pipeline/ProcessingSync?latest&contentOnly=zip'
      
      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        I'm not really sure; we don't maintain this plug-in (it's by the community), but you might find the answer by poking around through the source-code:

        https://github.com/jenkinsci/inedo-proget-plugin

        1 Reply Last reply Reply Quote 0
        • MaxCasconeM Offline
          MaxCascone
          last edited by

          @mcascone_8142 said in breaking forward slash inserted in downloadprogetpackage jenkins plugin:

          I opened a bug on Jenkins' JIRA: https://issues.jenkins-ci.org/browse/JENKINS-61299

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation