RDTK / generator

A tool for creating Jenkins jobs and other things from recipes describing software projects
GNU General Public License v3.0
21 stars 3 forks source link

Can not generate/deploy with password #41

Closed LeroyR closed 4 years ago

LeroyR commented 4 years ago

Which generator version are you using?

build-generator-0.31-x86_64-linux --version
build-generator 0.31.36
asdf            3.3.1
SBCL            1.5.5.0.sbcl-1.5.5.0-8ffc9ea

What did you do?

install-jenkins with -u jenkins -p jenkins generate with -u=jenkins -p=jenkins

No Jobs are created

PROJECT-DEPLOYMENT-ERROR:
    Error during deployment of project version
    tiago-melodic-robocup:ros-tiago_moveit_config:clf_sim. Caused by:
    > Error during deployment of
    > #<JOB tiago-melodic-robocup:ros-tiago_moveit_config:clf_sim:main {100443F463}>.
    > Caused by:
    > > Request failed (code 403):
    > > <html>
    > > <head>
    > > <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    > > <title>Error 403 No valid crumb was included in the request</title>
    > > </head>
    > > <body><h2>HTTP ERROR 403</h2>
    > > <p>Problem accessing /createItem. Reason:
    > > <pre>    No valid crumb was included in the request</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/>
    > > 
    > > </body>
    > > </html>
    > > 

Deployment works with api key.

scymtym commented 4 years ago

Fixed in 37a601ef, see #40.

This seems to have broken other people's scripts,too. Apparently, the documentation hasn't been updated. The release note have some information, though.