Judging by the error, it looks like you've possibly quoted the URL in the jenkins_jobs.ini file? Remove the quotes and I think you'll be fine.
Richard. PS Please don't double post problems :) On Wed, Jul 31, 2013 at 10:17 AM, Harsh Desai <[email protected]>wrote: > I am trying to use jenkins job builder to manage my jenkins instance. > However, JJB can't even connect to my jenkins due to a URL open error. Can > anybody help me here? > > root@infra-puppet:/etc/**jenkins_jobs# jenkins-jobs -l debug test > configs/jj-test-sanity.yml > > DEBUG:root:Reading config from /etc/jenkins_jobs/jenkins_**jobs.ini > DEBUG:root:Config: <ConfigParser.ConfigParser instance at 0x9e8396c> > DEBUG:jenkins_jobs.builder:**Parsing YAML file configs/jj-test-sanity.yml > DEBUG:jenkins_jobs.builder:**XMLifying job 'jj-test-sanity' > Traceback (most recent call last): > File "/usr/local/bin/jenkins-jobs", line 9, in <module> > load_entry_point('jenkins-job-**builder==0.0.334.1ac0507', > 'console_scripts', 'jenkins-jobs')() > File "/usr/local/lib/python2.7/**dist-packages/jenkins_job_** > builder-0.0.334.1ac0507-py2.7.**egg/jenkins_jobs/cmd.py", line 102, in > main > output_dir=options.output_dir) > File "/usr/local/lib/python2.7/**dist-packages/jenkins_job_** > builder-0.0.334.1ac0507-py2.7.**egg/jenkins_jobs/builder.py", line 442, > in update_job > if (self.jenkins.is_job(job.name) > File "/usr/local/lib/python2.7/**dist-packages/jenkins_job_** > builder-0.0.334.1ac0507-py2.7.**egg/jenkins_jobs/builder.py", line 380, > in is_job > return self.jenkins.job_exists(job_**name) > File "/usr/local/lib/python2.7/**dist-packages/python_jenkins-** > 0.2-py2.7.egg/jenkins/__init__**.py", line 267, in job_exists > self.get_job_info(name) > File "/usr/local/lib/python2.7/**dist-packages/python_jenkins-** > 0.2-py2.7.egg/jenkins/__init__**.py", line 150, in get_job_info > response = self.jenkins_open(urllib2.**Request(self.server + > JOB_INFO%locals())) > File "/usr/local/lib/python2.7/**dist-packages/python_jenkins-** > 0.2-py2.7.egg/jenkins/__init__**.py", line 174, in jenkins_open > return urllib2.urlopen(req).read() > File "/usr/lib/python2.7/urllib2.**py", line 126, in urlopen > return _opener.open(url, data, timeout) > File "/usr/lib/python2.7/urllib2.**py", line 400, in open > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.**py", line 423, in _open > 'unknown_open', req) > File "/usr/lib/python2.7/urllib2.**py", line 378, in _call_chain > result = func(*args) > File "/usr/lib/python2.7/urllib2.**py", line 1240, in unknown_open > raise URLError('unknown url type: %s' % type) > *urllib2.URLError: <urlopen error unknown url type: "https>* > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
