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

IvyTrigger not triggering when new snapshot is posted in same version

XMLWordPrintable

      The trigger is polling artifacts from Artifactory. When a new snapshot is posted for the same version (e.g. 1.0.0-SNAPSHOT), the trigger is not detecting it.
      Looking in the trigger log I get :
      ...

      Resolved dependency org.slf4j#slf4j-api;1.7.7 ...
      Resolved dependency my.company.app#meta.model;1.0.0-SNAPSHOT ...
      Resolved dependency org.apache.commons#commons-lang3;3.3.2 ...
      
      Checking comparison to previous recorded dependencies.
      Checking previous recording dependency org.slf4j#slf4j-api;1.7.7
      ...Checking comparison to previous recorded artifacts.
      Checking previous recording dependency my.company.app#meta.model;1.0.0-SNAPSHOT
      ...Checking comparison to previous recorded artifacts.
      Checking previous recording dependency org.apache.commons#commons-lang3;3.3.2
      ...Checking comparison to previous recorded artifacts.
      

      Looking at the code of the plugin, it seems to never enter in the isArtifactChanged function at the end of IvyTrigger.isDependencyChanged function.
      The log message "....Checking previous recording artifact %s" is never shown ...

            gbois Gregory Boissinot
            imartinbe Ignace Martin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: