[JIRA] Created: (HUDSON-8299) Unable to "Build now" when remote token is set and token is not included in parameters form

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-8299) Unable to "Build now" when remote token is set and token is not included in parameters form

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

                 Key: HUDSON-8299
                 URL: http://issues.hudson-ci.org/browse/HUDSON-8299
             Project: Hudson
          Issue Type: Bug
          Components: www
         Environment: Ubuntu 10.10, 32-bit
            Reporter: juhapekka


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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-8299) Unable to "Build now" when remote token is set and token is not included in parameters form

Kohsuke Kawaguchi
Administrator

     [ http://issues.hudson-ci.org/browse/HUDSON-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

juhapekka updated HUDSON-8299:
------------------------------

    Description:
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.

  was:
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.


> Unable to "Build now" when remote token is set and token is not included in parameters form
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-8299
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-8299
>             Project: Hudson
>          Issue Type: Bug
>          Components: www
>         Environment: Ubuntu 10.10, 32-bit
>            Reporter: juhapekka
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-8299) Unable to "Build now" when remote token is set and token is not included in parameters form

Kohsuke Kawaguchi
Administrator
In reply to this post by Kohsuke Kawaguchi

     [ http://issues.hudson-ci.org/browse/HUDSON-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sogabe resolved HUDSON-8299.
----------------------------

    Resolution: Fixed

> Unable to "Build now" when remote token is set and token is not included in parameters form
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-8299
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-8299
>             Project: Hudson
>          Issue Type: Bug
>          Components: www
>         Environment: Ubuntu 10.10, 32-bit
>            Reporter: juhapekka
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira