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

The Artifactory plug-in's pattern: (*), target: {1} wildcard syntax is not working with jFrog 7.39.4 rev 73904900

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • artifactory-plugin
    • Both artifactory.hpi 3.18.9 and 3.18.4.
      Jenkins LTS 2.414.1 on Windows under Temurin 17.

      Prior to 26-Aug-2023 (apparently when our jFrog Aartifactory server was upgraded to "EnterpriseX license 7.39.4 rev 73904900") my Jenkins scripts were successfully using an rtDownload with a wildcarded pattern as such:
      ?? rtDownload( serverId: "Artifactory",
      spec: """{
      "files": [{
      "pattern": "our-product-generic-stable-local/WinPrereqs/2022/(asterisk)",
      "target": "installer/Prerequisites/

      {1}

      ",
      "flat": "true" }]
      }""" )??
      Note, "asterisk" is spelled-out to prevent JIRA markup interpreting it.

      Now those command are yielding an error:
       [Thread downloader_0] downloading C:\windows\TEMP\2935340218335602811\WinPrereqs/2022/.NET Framework 4.6.1/NDP461-KB3102436-x86-x64-AllOS-ENU.exe0 as part of file our-product-generic-stable-local/WinPrereqs/2022/.NET Framework 4.6.1/NDP461-KB3102436-x86-x64-AllOS-ENU.exe threw an exception: java.io.IOException: Could not create nor write to file: C:\Windows\Temp\2935340218335602811\WinPrereqs\2022\.NET Framework 4.6.1\NDP461-KB3102436-x86-x64-AllOS-ENU.exe0

      [Note, I find the final '0' character curious, but maybe its nothing.]

            eyalbe Eyal Ben Moshe
            mtnbill Bill Hopper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: