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

Ivy plugin references hardcoded SCM checkout location

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • ivy-plugin
    • None
    • Platform: All, OS: All

      It appears that the plugin searches for the module descriptor path relative to a
      hardcoded subdirectory named 'workspace'. When I specify a custom scm checkout
      directory, the Ivy plugin cannot find the dependency descriptor.

      As evidence, I got al these exceptions in the Tomcat log. All of them
      reference a 'workspace' dir that I'm not using. If I use the actual checkout
      dir in the module descriptor search pattern, it's no good because it just
      appends it to $WORKSPACE/workspace.

      ava.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/Common-UI_trunk_CI/workspace/common-ui/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/Engage_7.4.1_branch_CI/workspace/sdm/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/Engage_7.4_branch_CI/workspace/sdm/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/LandingPages_2.1.1_branch_CI/workspace/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/LandingPages_2.1_branch_CI/workspace/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/workspace/LandingPages_reeses_branch_CI/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/LandingPages_trunk_CI/workspace/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/LP-trunk-ci-original/workspace/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/Reporting_1.7_branch_CI/workspace/ivy.xml
      java.io.FileNotFoundException: Can't stat file
      /opt/hudson-workspace/jobs/Reporting_1.8.0_branch_CI/workspace/ivy.xml

          [JENKINS-4541] Ivy plugin references hardcoded SCM checkout location

          carltonb added a comment -

          After upgrading Hudson to ver. 1.325 I am no longer able to reproduce this
          issue. The version of Ivy plugin was 0.3 both before and after upgrade.

          carltonb added a comment - After upgrading Hudson to ver. 1.325 I am no longer able to reproduce this issue. The version of Ivy plugin was 0.3 both before and after upgrade.

            hibou hibou
            carltonb carltonb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: