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

Wrong Ivy XML file is being looked for

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ivy-plugin
    • 1.27

      I have the latest Ivy plug-ins installed in a Jenkins 2 instance.

      The structure of my project is:

      build/
      com.mycompany.myproj.bootstrap.central/
      com.mycompany.myproj.bootstrap.site/
      com.mycompany.myproj.central.app/
      com.mycompany.myproj.cinstall.central/
      com.mycompany.myproj.cinstall.site/
      com.mycompany.myproj.site.app/
      README.md

      All these projects (beginning with com.mycompany) have an ivy.xml file in them, whilst the build/ directory has ivysettings.xml.

      My job is configured with build/ivysettings.xml as the "Ivy settings" config and **/ivy.xml as the "Ivy xml files" config,

      I am facing the error below when I run an Ivy build:

      Error while reading the default Ivy 2.1 settings: failed to load settings from file:/var/lib/jenkins/jobs/Build/jobs/IvyTest/workspace/ivy382275822984563930xml: either url or file should be given for classpath element

            tbingaman Timothy Bingaman
            phillipviana Phillip Viana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: