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

Creating a new job: internal server error when using an HTTPS:// git source URL rather than a GIT:// URL

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • git-plugin
    • None

      When I try to create a Maven test job, inputting an HTTPS:// URL for the git source results in an internal server error (specifically a null pointer error).

      As a mitigation, I can use a GIT:// URL instead, and the internal error goes away, allowing me to continue creating the job.

          [JENKINS-21553] Creating a new job: internal server error when using an HTTPS:// git source URL rather than a GIT:// URL

          Mark Waite added a comment -

          Can you provide the stack trace that is generated? That may indicate some incompatibility between plugins or that some assumptions which were previously valid are no longer valid.

          Mark Waite added a comment - Can you provide the stack trace that is generated? That may indicate some incompatibility between plugins or that some assumptions which were previously valid are no longer valid.

          Not related to the jobgenerator plugin, so I remove this component from the issue.

          Sylvain Benner added a comment - Not related to the jobgenerator plugin, so I remove this component from the issue.

          Mark Waite added a comment -

          I tried to duplicate this problem with a maven test job using git-client-plugin as the git repository with Jenkins 1.532.2, git-client-plugin 1.6.2 and git-plugin 2.0.1. I could not duplicate the problem. The job creation steps I used were:

          • Create new job named "JENKINS-21553-maven-https-NPE" -> Maven job type
          • Git source control, use "https://github.com/jenkinsci/git-client-plugin.git" as the repository
          • maven version, use 3.1.1 downloaded from apache.org automatically
          • maven goal, "-Dmaven.test.failure.ignore=true install"

          Can you provide a more detailed description of your configuration?

          What Jenkins and plugin versions were you using?

          Were you using an https server with a self-signed certificate?

          Does the same problem happen if you use the https URL I tried?

          Mark Waite added a comment - I tried to duplicate this problem with a maven test job using git-client-plugin as the git repository with Jenkins 1.532.2, git-client-plugin 1.6.2 and git-plugin 2.0.1. I could not duplicate the problem. The job creation steps I used were: Create new job named " JENKINS-21553 -maven-https-NPE" -> Maven job type Git source control, use "https://github.com/jenkinsci/git-client-plugin.git" as the repository maven version, use 3.1.1 downloaded from apache.org automatically maven goal, "-Dmaven.test.failure.ignore=true install" Can you provide a more detailed description of your configuration? What Jenkins and plugin versions were you using? Were you using an https server with a self-signed certificate? Does the same problem happen if you use the https URL I tried?

          Mark Waite added a comment -

          Resolved as "Cannot reproduce" after waiting 10 days for a response to clarifying questions. Changes were made in plugin versions leading up to git-plugin 2.0.2 and git-client-plugin 1.6.3 which may have resolved this issue, but since the submitter has not responded, we can't confirm if those changes actually resolve the issue.

          Mark Waite added a comment - Resolved as "Cannot reproduce" after waiting 10 days for a response to clarifying questions. Changes were made in plugin versions leading up to git-plugin 2.0.2 and git-client-plugin 1.6.3 which may have resolved this issue, but since the submitter has not responded, we can't confirm if those changes actually resolve the issue.

          Jesse Glick added a comment -

          (reopening just to clear bad labels)

          Jesse Glick added a comment - (reopening just to clear bad labels)

            ndeloof Nicolas De Loof
            apennebaker Andrew Pennebaker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: