There is the Jenkins Import Plugin
http://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of SamiSam
Sent: Friday, February 28, 2014 9:57 AM
To: jenkinsci-users@googlegroups.com
Subject: Best
Just tried it and keep on receiving:
FAILED - Server returned HTTP response code: 403 for URL:
http://***/job/**//config.xml
this is happening on all the jobs i'm trying to import.
Any ideas? I don't think I could create an anonymous account (like some
have done) and give it admin
Sorry, I never used it, just know about it
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of SamiSam
Sent: Friday, February 28, 2014 10:59 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Best practice to copy Jenkins jobs from old instance to new
The latest version should have a username/password prompt when you go to
import, at least it did last time I tried. Are those fields not showing up
for you?
slide
On Fri, Feb 28, 2014 at 8:58 AM, SamiSam say...@gmail.com wrote:
Just tried it and keep on receiving:
FAILED - Server returned
The plugin displays the credentials window. I do enter my credentials and
can query the remote server which returns a list of jobs under the
$VIEWNAME i specify in the URL. When I do try to import the jobs, that's
when I get the 403 error.
On Friday, February 28, 2014 11:00:09 AM UTC-5,
I assume you are logging in with a user that has admin privileges?
On Fri, Feb 28, 2014 at 9:06 AM, SamiSam say...@gmail.com wrote:
The plugin displays the credentials window. I do enter my credentials and
can query the remote server which returns a list of jobs under the
$VIEWNAME i
Good question.. I am not. and don't think i could get admin rights on
here.. I'll check
On Friday, February 28, 2014 11:15:17 AM UTC-5, slide wrote:
I assume you are logging in with a user that has admin privileges?
On Fri, Feb 28, 2014 at 9:06 AM, SamiSam say...@gmail.com
Can you use the CLI?
If so, something like this:
java -jar jenkins-cli.jar -s https://oldjenkins.yourdomain.com login
java -jar jenkins-cli.jar -s https://newjenkins.otherdomain.com login
curl 'https://oldjenkins.yourdomain.com/view/All/api/python?pretty=true' | awk
-F\ '/name/{print $4}'
Thanks for the suggestion Patricia.. Unfortunately, no access to CLI.. I
could have easily copied the directory where the jobs reside in and call it
a day.. but that's no an option. sigh
On Friday, February 28, 2014 9:56:42 AM UTC-5, SamiSam wrote:
Hi there,
Can someone recommend a way to
Just so I am clear, I'm not referring to the cli of the jenkins server itself.
The CLI I refer to is the remote jenkins command line.
You can download the .jar file from $JENKINS_URL/jnlpJars/jenkins-cli.jar and
run it on any machine.
- Original Message -
From: SamiSam
oh interesting.
I just downloaded jenkins-cli.jar -- a few questions Patricia
the first line: java -jar jenkins-cli.jar -s
https://oldjenkins.yourdomain.com login - will the login be user:password
?
if so, nothing happens on my end. Should i copy and modify your
instructions into a file
You can test to see if this has a hope of working by doing the following:
1) check to see if the CLI works:
java -jar jenkins-cli.jar -s JENKINS_URL who-am-i --username=YOUR_USERNAME
--password=YOUR_PASSWORD
Replace YOUR_USERNAME and YOUR_PASSWORD as appropriate.
2) If that works and
Thank you so much for the instructions. I'm sure this will be a great aid
to many users in the community. Unfortunately, it did not work. I've tried
it from 3 different boxes (1 aix, 1 centos and a windows box) and received
the same exception:
Exception in thread main java.io.EOFException:
13 matches
Mail list logo