JENKINS REST API: queue service responds “404 not found”

1,429 views
Skip to first unread message

Albert Battle

unread,
Mar 20, 2015, 9:24:04 AM3/20/15
to jenkinsci-users

I am using the latest JENKINS version 1.605.

I start a job by issuing /POST /jenkins/job/jobName/build

I receive a location header Location: http://{host}/jenkins/queue/item/3/

Issuing /GET http://{host}/jenkins/queue/item/3/ I receive 404

Vincent Latombe

unread,
Mar 20, 2015, 9:57:18 AM3/20/15
to Jenkins Users

Vincent

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAGVYvSPmsTAN0C-Q-z6UDMoAHP_S%3Dm6N0XNWnGMvt6ZDt4Pvvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Albert Battle

unread,
Mar 20, 2015, 12:04:10 PM3/20/15
to jenkins...@googlegroups.com
Thanks, Vincent. I checked on 1.600 and it works. 

пятница, 20 марта 2015 г., 15:57:18 UTC+2 пользователь Vincent Latombe написал:

harperville

unread,
May 6, 2015, 5:00:40 PM5/6/15
to jenkins...@googlegroups.com
Hi, Vincent.  I'm confused.  I'm running 1.604 and a script that previously worked fails with a 404 when I'm trying to hit this endpoint.  A little help?

Baptiste Mathus

unread,
May 6, 2015, 5:09:49 PM5/6/15
to jenkins...@googlegroups.com

As Vincent said, known issue. Did you click on the link above? I suppose you did, obviously.
Reading the changelog: https://jenkins-ci.org/changelog you'll learn that fix has been included in 1.605.

Cheers

harperville

unread,
May 7, 2015, 7:53:21 AM5/7/15
to jenkins...@googlegroups.com, bma...@batmat.net
Thanks, Baptiste!  I read it as being fixed before that.  Great to know!

Regards,
Harper
Reply all
Reply to author
Forward
0 new messages