Quantcast

Job Import Plugin query doesn't return a list

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Job Import Plugin query doesn't return a list

Lars Nordin
I go to the job-import page, put in the URL of my current Jenkins server and hit query and no list is produced.
The curious thing is that in the upper right, the "New Job" icon text is changed to "New null".
I've tried different URLs ( like https://server and https://server/view/something ) but all produce the same result.

The current server is behind a remote lighthttpd proxy on port 443; similarly the new server is behind an Apache reverse proxy at 443.

The new server is Jenkins ver. 1.466.1 on Java 1.6.0_24 on Ubuntu 12.04 (using Jenkins deb).
The current server is Jenkins ver. 1.406 on Java 1.6.0_0 on CentOS 5.5 (with Jenkins installed upgraded from Hudson 1.363-1.1 rpm)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Job Import Plugin query doesn't return a list

Jesse Farinacci
Greetings,

On Fri, Aug 17, 2012 at 10:32 AM, Lars Nordin <[hidden email]> wrote:
> I go to the job-import page, put in the URL of my current Jenkins server and hit query and no list is produced.
> The curious thing is that in the upper right, the "New Job" icon text is changed to "New null".
> I've tried different URLs ( like https://server and https://server/view/something ) but all produce the same result.

Do a manual test to see that you can fetch the XML that the plugin
will attempt. So, whatever you put in for your remote URL, you should
append /api/xml and see what the result is. Also make sure that you
are not logged in to the remote system.

-Jesse

--
There are 10 types of people in this world, those
that can read binary and those that can not.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: Job Import Plugin query doesn't return a list

Lars Nordin
-----Original Message-----
From: Jesse Farinacci

Do a manual test to see that you can fetch the XML that the plugin will attempt. So, whatever you put in for your remote URL, you should append /api/xml and see what the result is. Also make sure that you are not logged in to the remote system.
---------------

Thanks for help.

I browsed the URL of job and I am able to get an XML document but it is not complete - the build steps are not populated. I presume that this is because I am not logged into the old Jenkins server.
Loading...