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

Unable to use buildWithParameters while uploading a file

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core

      i see in this link: http://stackoverflow.com/questions/13348480/how-to-upload-file-from-command-line-as-file-parameter-in-jenkins

      it states that we need to use /build instead of /buildWithParameters while invoking the build with a file upload.

      However when we use /build we dont get a queue id which prevents tracking.

          [JENKINS-41231] Unable to use buildWithParameters while uploading a file

          Daniel Beck added a comment -

          Long standing issue. /build is just wrong to use programmatically, so there needs to be a way to upload files with /buildWithParameters.

          Daniel Beck added a comment - Long standing issue. /build is just wrong to use programmatically, so there needs to be a way to upload files with /buildWithParameters .

          Dell Green added a comment - - edited

          Is there a workaround for now? as this seems a long standing issue

          I suppose i could compress my file and base64urlsafe encode it and use a string parameter instead

          Dell Green added a comment - - edited Is there a workaround for now? as this seems a long standing issue I suppose i could compress my file and base64urlsafe encode it and use a string parameter instead

            Unassigned Unassigned
            venutade venu tadepalli
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: