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

IvyTrigger plugin description indicates that it "has no impact on the Jenkins infrastructure", but it does download all dependencies to the local file system

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      According to https://wiki.jenkins-ci.org/display/JENKINS/IvyTrigger+Plugin

      Note: The plugin uses only persistence in memory. There is no impact on the Jenkins infrastructure (no new files created).

      However, we've seen in practice that all depended-upon artifacts are downloaded to a ivy-trigger-cache directory outside the workspace. I'd expect that there would have to be some XML files downloaded and persisted between checks, but downloading all the depended-upon artifacts is really putting a strain on build machines handling multiple, very large, builds.

      I'm not sure if this is a requirement of the Ivy library, or if is really is possible to do a resolve without an implicit download. If it is however, that would be ideal for both my poor aching disks and for the network.

        Attachments

          Activity

          rclark Robert Clark created issue -
          rclark Robert Clark made changes -
          Field Original Value New Value
          Summary IveTrigger plugin description indicates that it "has no impact on the Jenkins infrastructure", but it does download all dependencies to the local file system IvyTrigger plugin description indicates that it "has no impact on the Jenkins infrastructure", but it does download all dependencies to the local file system
          Hide
          rclark Robert Clark added a comment -

          Pull request adds option to control whether or not artifacts are downloaded during dependency resolution.

          Show
          rclark Robert Clark added a comment - Pull request adds option to control whether or not artifacts are downloaded during dependency resolution.
          rclark Robert Clark made changes -
          Remote Link This issue links to "Pull request with new feature controlling downloads (Web Link)" [ 12800 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Robert Clark
          Path:
          src/main/java/org/jenkinsci/plugins/ivytrigger/IvyTrigger.java
          src/main/java/org/jenkinsci/plugins/ivytrigger/IvyTriggerEvaluator.java
          src/main/resources/org/jenkinsci/plugins/ivytrigger/IvyTrigger/config.jelly
          src/main/resources/org/jenkinsci/plugins/ivytrigger/IvyTrigger/help-downloadArtifacts.html
          http://jenkins-ci.org/commit/ivytrigger-plugin/3897869272b82adaeb9b19eecb9194e1c632da15
          Log:
          Added option to control whether or not artifacts are downloaded

          There is a new option (downloadArtifacts) that controls whether or not
          artifacts are downloaded. If they are (the default to maintain backwards
          compatibility) then the trigger will check to see if any artifacts inside
          a dependency have changed with out changing the version number.

          If artifacts are not configured for download, the trigger only checks to
          make sure the resolved dependency version has not changed.

          Fixes JENKINS-28044

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Clark Path: src/main/java/org/jenkinsci/plugins/ivytrigger/IvyTrigger.java src/main/java/org/jenkinsci/plugins/ivytrigger/IvyTriggerEvaluator.java src/main/resources/org/jenkinsci/plugins/ivytrigger/IvyTrigger/config.jelly src/main/resources/org/jenkinsci/plugins/ivytrigger/IvyTrigger/help-downloadArtifacts.html http://jenkins-ci.org/commit/ivytrigger-plugin/3897869272b82adaeb9b19eecb9194e1c632da15 Log: Added option to control whether or not artifacts are downloaded There is a new option (downloadArtifacts) that controls whether or not artifacts are downloaded. If they are (the default to maintain backwards compatibility) then the trigger will check to see if any artifacts inside a dependency have changed with out changing the version number. If artifacts are not configured for download, the trigger only checks to make sure the resolved dependency version has not changed. Fixes JENKINS-28044
          gbois Gregory Boissinot made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 162646 ] JNJira + In-Review [ 197016 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rclark Robert Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: