BuildWithParameters - parameter values disappear if user is not logged in

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We generate test reports with links to run one of our Hudson jobs using URLs like:

      http://<hudson_server>/job/<job-name>/buildWithParameters?Var1=..%255Cqdirname&Var2=dirname%255Cimgname&Var3=filename&Var4=A+comment+here

      This works perfectly if the user who clicks the link to run the job is already logged into Hudson, but if that person isn't logged in, they'll be redirected to the login page. Once they've logged in, the build starts, but the values that were passed in the URI are no longer accessible.

      For example, if we have this in "Execute Shell":

      echo "Calling: python run_job.py \"$Var1\" \"$Var2\" \"$Var3\" \"$Var4\""

      We get this in the console output:

      + echo 'Calling: python run_job.py "" "" "" ""'
      Calling: python run_job.py "" "" "" ""

      Please let me know if I can provide any more relevant information.

            Assignee:
            OHTAKE Tomohiro
            Reporter:
            pauljandrew
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: