jenkins-autojobs icon indicating copy to clipboard operation
jenkins-autojobs copied to clipboard

jenkins.JenkinsError: create "new-test-branch" failed

Open jriram opened this issue 10 years ago • 4 comments

Hi,

I have installed as per instructions and when run, I got this:

# jenkins-makejobs-git -d git-config.yaml 
loading config from "/root/src/git-config.yaml"

explicitly ignored:
 - refs/heads/develop
 - refs/heads/master

processing ref: refs/heads/new-test-branch
. job name: new-test-branch
. job exists: False
Traceback (most recent call last):
  File "/usr/bin/jenkins-makejobs-git", line 9, in <module>
    load_entry_point('jenkins-autojobs==0.12.0', 'console_scripts', 'jenkins-makejobs-git')()
  File "/usr/lib/python2.6/site-packages/jenkins_autojobs-0.12.0-py2.6.egg/jenkins_autojobs/git.py", line 126, in main
    _main(argv[1:], config=config, create_job=create_job, list_branches=list_branches)
  File "/usr/lib/python2.6/site-packages/jenkins_autojobs-0.12.0-py2.6.egg/jenkins_autojobs/main.py", line 124, in main
    name = create_job(branch, templates[branch_config['template']], config, branch_config)
  File "/usr/lib/python2.6/site-packages/jenkins_autojobs-0.12.0-py2.6.egg/jenkins_autojobs/git.py", line 117, in create_job
    job.create(ref_config['overwrite'], config['dryrun'])
  File "/usr/lib/python2.6/site-packages/jenkins_autojobs-0.12.0-py2.6.egg/jenkins_autojobs/job.py", line 82, in create
    self.jenkins.job_create(self.name, self.xml)
  File "build/bdist.linux-x86_64/egg/jenkins.py", line 332, in job_create
  File "build/bdist.linux-x86_64/egg/jenkins.py", line 155, in create
jenkins.JenkinsError: create "new-test-branch" failed

Any ideas?

José

jriram avatar Mar 31 '14 02:03 jriram