daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest May 16th, 2018 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "/root/sandbox/bin/jenkins-jobs", line 11, in <module>
  3.     sys.exit(main())
  4.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/cli/entry.py", line 146, in main
  5.     jjb.execute()
  6.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/cli/entry.py", line 140, in execute
  7.     ext.obj.execute(self.options, self.jjb_config)
  8.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/cli/subcommand/update.py", line 140, in execute
  9.     xml_jobs, n_workers=options.n_workers)
  10.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 295, in update_jobs
  11.     concurrent=p_params)
  12.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/parallel.py", line 112, in concurrentized
  13.     return func(*args, **kwargs)
  14.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 318, in parallel_update_job
  15.     self.update_job(job.name, job.output().decode('utf-8'))
  16.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 116, in update_job
  17.     if self.is_job(job_name):
  18.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 127, in is_job
  19.     if job_name in self.job_list:
  20.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 104, in job_list
  21.     self._job_list = set(job['fullname'] for job in self.jobs)
  22.   File "/root/sandbox/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 96, in jobs
  23.     self._jobs = self.jenkins.get_all_jobs()
  24.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 951, in get_all_jobs
  25.     jobs = [(0, "", self.get_info(query=JOBS_QUERY)['jobs'])]
  26.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 694, in get_info
  27.     requests.Request('GET', self._build_url(INFO))
  28.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 533, in jenkins_open
  29.     return self.jenkins_request(req, add_crumb, resolve_auth).text
  30.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 549, in jenkins_request
  31.     self.maybe_add_crumb(req)
  32.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 347, in maybe_add_crumb
  33.     'GET', self._build_url(CRUMB_URL)), add_crumb=False)
  34.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 533, in jenkins_open
  35.     return self.jenkins_request(req, add_crumb, resolve_auth).text
  36.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 552, in jenkins_request
  37.     self._request(req))
  38.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 524, in _request
  39.     r.url, None, None, self._session.verify, None)
  40.   File "/root/sandbox/lib/python2.7/site-packages/jenkins/__init__.py", line 278, in merge_environment_settings
  41.     **kwargs)
  42.   File "/root/sandbox/lib/python2.7/site-packages/requests/sessions.py", line 674, in merge_environment_settings
  43.     proxies.setdefault(k, v)
  44. AttributeError: 'NoneType' object has no attribute 'setdefault'
RAW Paste Data
Top