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

Unable to "Build now" when remote token is set and token is not included in parameters form

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Ubuntu 10.10, 32-bit

      Hudson ver. 1.389.

      = issue 1.1 =
      After the latest update from repository (http://pkg.hudson-labs.org/debian) the Jobs which have a remote token set, can not be built from the www interface.

      The user will be redirected to a page which says:
      "Access Denied

      Invalid token provided."

      In the case that token is passed to HTTP GET
      http://server:8080/job/[jobname]/build?delay=0sec&token=[mytoken]

      The page is displayed

      = issue 1.2 =
      but when the Job has parameters which needs to be set the parameters form does not pass the token value.
      <form name="parameters" action="build?delay=0sec" method="post">

      So when user clicks on Build button the "Invalid Token provided" page will be displayed.

          [JENKINS-8299] Unable to "Build now" when remote token is set and token is not included in parameters form

          juhapekka created issue -
          juhapekka made changes -
          Description Original: Hudson ver. 1.389.

          After the latest update from repository (http://pkg.hudson-labs.org/debian) the Jobs which have a remote token set, can not be built from the www interface.

          The user will be redirected to a page which says:
          "Access Denied

          Invalid token provided."

          In the case that token is passed to HTTP GET
          http://server:8080/job/[jobname]/build?delay=0sec&token=[mytoken]

          The page is not displayed, but when the Job has parameters which needs to be set the parameters form does not pass the token value.
          <form name="parameters" action="build?delay=0sec" method="post">

          So when user clicks on Build button the "Invalid Token provided" page will be displayed.
          New: Hudson ver. 1.389.

          = issue 1.1 =
          After the latest update from repository (http://pkg.hudson-labs.org/debian) the Jobs which have a remote token set, can not be built from the www interface.

          The user will be redirected to a page which says:
          "Access Denied

          Invalid token provided."

          In the case that token is passed to HTTP GET
          http://server:8080/job/[jobname]/build?delay=0sec&token=[mytoken]

          The page is displayed

          = issue 1.2 =
          but when the Job has parameters which needs to be set the parameters form does not pass the token value.
          <form name="parameters" action="build?delay=0sec" method="post">

          So when user clicks on Build button the "Invalid Token provided" page will be displayed.
          sogabe made changes -
          Link New: This issue duplicates JENKINS-8319 [ JENKINS-8319 ]
          sogabe made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138409 ] New: JNJira + In-Review [ 187991 ]

            Unassigned Unassigned
            juhapekka juhapekka
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: