• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Jenkins 2.19.2, Jenkins Artifactory plugin 2.8.0+, Gradle 2.12

      After upgrading the Jenkins Artifactory plugin, all projects using the gradle integration stopped deploying. After testing a few plugin versions, I have determined that the bug was introduced between plugin releases 2.7.2 and 2.8.0.

      Here are logs of builds before and after the upgrade.
      2.7.2: http://ci.rx14.co.uk/job/shadowfacts/job/ShadowMC/201/console
      2.8.0: http://ci.rx14.co.uk/job/shadowfacts/job/ShadowMC/200/console

      You can see that buildinfo doesn't seem to load, and running the artifactoryPublish task doesn't deploy any artifacts.

          [JENKINS-39755] Gradle project does not deploy

          Since we're unable to reproduce this issue, can you please share with a sample Jenkins config.xml file and a Gradle project that reproduce this issue?

          Eyal Ben Moshe added a comment - Since we're unable to reproduce this issue, can you please share with a sample Jenkins config.xml file and a Gradle project that reproduce this issue?

          RX14 added a comment - - edited

          Here's a config.xml which fails on a clean Jenkins install: https://gist.github.com/5385b62d4a7df74808125e6a8982ea17

          Obviously tweak the artifactory settings to a testing instance of your own.

          RX14 added a comment - - edited Here's a config.xml which fails on a clean Jenkins install: https://gist.github.com/5385b62d4a7df74808125e6a8982ea17 Obviously tweak the artifactory settings to a testing instance of your own.

          RX14, using your sample project, I managed to reproduce and figure out the cause of the bug.
          I put all details in a comment at this jira issue:
          https://issues.jenkins-ci.org/browse/JENKINS-39758

          Eyal Ben Moshe added a comment - RX14, using your sample project, I managed to reproduce and figure out the cause of the bug. I put all details in a comment at this jira issue: https://issues.jenkins-ci.org/browse/JENKINS-39758

          Roger Soucy added a comment -

          I also noticed that the Artifactory Links no longer get created in Artifactory that point back to the build.

          Roger Soucy added a comment - I also noticed that the Artifactory Links no longer get created in Artifactory that point back to the build.

            eyalbe Eyal Ben Moshe
            rx14 RX14
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: