Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1371

Jenkins Artifactory Plugin doesn't work with Gradle Freestyle Projects (Regression - Version 3.3.7)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 3.7.0
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:
      None
    • Regression:
      Yes

      Description

      Problem description: After upgrading the Jenkins Artifactory Plugin to version 3.7.3, Gradle builds fail with a Groovy exception. Reverting fixes the issue.
      **

       

      What is the expected behavior? Builds that work earlier do not start to fail due to a plugin update.

      Steps to reproduce: 

      1] Start with a Jenkins instance that has Artifactory Jenkins Plugin 3.2.2 installed (Can be downloaded here, place in the /var/lib/jenkins/plugins folder)

      2] Configure a Freestyle build to use the Gradle Example CI Project on the JFrog GitHub 

      3] Run the build, observe success

      4] Upgrade the Artifactory Jenkins Plugin to the latest version (3.7.3)

      5] Run the build without changing anything, observe a "No signature of method" error:

      > No signature of method: org.gradle.api.internal.tasks.RealizableTaskCollection.configureEach() is applicable for argument types: (org.jfrog.gradle.plugin.artifactory.ArtifactoryPluginBase$_addModuleInfoTask_closure1) values: [org.jfrog.gradle.plugin.artifactory.ArtifactoryPluginBase$_addModuleInfoTask_closure1@7af6f22e]

      Possible workaround: Use the older version of the plugin

        Attachments

          Activity

            People

            Assignee:
            eyalb Eyal Ben Moshe
            Reporter:
            patrickr Patrick Russell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: