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

CopyProjectLink plugin: does not work with non-root url (http://hostname/jenkins)

      When I installed the copyprojectlink plugin and attempted to copy a project I was immediately met with an error that:

      "The requested URL /checkJobName was not found on this server."

      Our server was already setup when I added jenkins and I simply made it use http://hostname/jenkins

      It appears that this plugin always wants to be in the root.

          [JENKINS-18910] CopyProjectLink plugin: does not work with non-root url (http://hostname/jenkins)

          Gavin Goodrich created issue -
          Gavin Goodrich made changes -
          Description Original: In Jenkins 1.454, the copy project link plugin does not work when copying a job which is using the new 'display name' feature.

          You can repro with these steps:
          - create job A and go to the configure page.
          - click the Advanced... button next in the 'Advanced Project Options section.
          - set the Display Name to something like 'My job'
          - save the config page
          - on the main job page, click the 'Copy project' link to copy it
          - note the URL has the (internal) job name -- 'A' (good)
          - enter a new job name, and click OK.

          At this point, you get an error message of the form:

          Error
          No such job: My job

          A workaround is to use the normal 'new job' approach for copying a job.
          New: When I installed the copyprojectlink plugin and attempted to copy a project I was immediately met with an error that:

          "The requested URL /checkJobName was not found on this server."

          Our server was already setup when I added jenkins and I simply made it use http://hostname/jenkins

          It appears that this plugin always wants to be in the root.
          Vincent Latombe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/resources/hudson/plugins/copyProjectLink/CopyProjectAction/index.jelly
          http://jenkins-ci.org/commit/copy-project-link-plugin/031d1b05ba8f43ef14ad0e68e51e473b8f164419
          Log:
          JENKINS-18910 CopyProjectLink plugin: does not work with non-root url
          (http://hostname/jenkins)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/resources/hudson/plugins/copyProjectLink/CopyProjectAction/index.jelly http://jenkins-ci.org/commit/copy-project-link-plugin/031d1b05ba8f43ef14ad0e68e51e473b8f164419 Log: JENKINS-18910 CopyProjectLink plugin: does not work with non-root url ( http://hostname/jenkins )

          vlatombe, I presume this is fixed.

          Oliver Gondža added a comment - vlatombe , I presume this is fixed.
          Oliver Gondža made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Indeed, my bad, I forgot to update the status

          Vincent Latombe added a comment - Indeed, my bad, I forgot to update the status
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150357 ] New: JNJira + In-Review [ 193489 ]

            vlatombe Vincent Latombe
            gavinagoodtime Gavin Goodrich
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: