Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44674

[job-builder] jenkins.JenkinsException: Error in request. Possibly authentication failed [500]: Internal Server Error Build step 'Execute shell' marked build as failure

XMLWordPrintable

      Hi Team

      We are trying to create a matrix config job using Jenkins Job Builder on Jenkins ver. 1.609.2 where the execution strategy is Classic.

      Copying the logs for info.

      INFO:jenkins_jobs.builder:Number of jobs generated: 1 INFO:jenkins_jobs.builder:Creating jenkins job EnvironmentJvmCheck_test Traceback (most recent call last): File "/opt/rh/python27/root/usr/bin/jenkins-jobs", line 10, in <module> sys.exit(main()) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 191, in main execute(options, config) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 372, in execute n_workers=options.n_workers) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 412, in update_jobs parallelize=p_params) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/parallel.py", line 112, in parallelized return func(*args, **kwargs) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 435, in parallel_update_job self.jenkins.update_job(job.name, job.output().decode('utf-8')) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/parallel.py", line 112, in parallelized return func(*args, **kwargs) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 164, in update_job self.jenkins.create_job(job_name, xml) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins/_init.py", line 855, in create_job config_xml.encode('utf-8'), DEFAULT_HEADERS)) File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jenkins/init_.py", line 361, in jenkins_open e.code, e.msg) jenkins.JenkinsException: Error in request. Possibly authentication failed [500]: Internal Server Error Build step 'Execute shell' marked build as failure Finished: FAILURE

      Any help would be much appreciated as we are nearing our release cycle.

       

            kohsuke Kohsuke Kawaguchi
            nareshg4 Naresh G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: