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

Gradle fails to create temp 'ok' file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Gradle 6.6 and above add an extra cache layer to its internals(https://docs.gradle.org/6.6/release-notes.html) and as a result, it tries to cache the Artifactory plugins jars.
      Among the jars, an ok file is found, which indicates that all the jars were copies successfully into the master/agent before running Gradle. Whenever Gradle runs it tries to cache the ok file using java.io.File.createTempFile and since java.io.File.createTempFile required at least 3 characters to create a temp file it throws an exception.

        Attachments

          Activity

            People

            Assignee:
            orgab Or Geva
            Reporter:
            orgab Or Geva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: