Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20417

Gpg on Windows Jenkins nodes can't sign file in temp directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None
    • Project:
      Maven

      Description

      It looks like somewhere has changed between April 24th and May 27th.
      Since the latter day we see a failing build.

      It fails with the following error
      gpg: can't open 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\mvndeploy12484014947335380586.pom': No error
      gpg: signing failed: System error w/o errno

      The test signs and uploads a jarfile. For this test there's no pom.xml, so there's one created in the temp-directory. This one will be signed and uploaded.

      Analysis tells me that it is not possible to sign a file located in the temp directory. This is confirmed by generating the pom next to the artifact, which will make the test succeed, but this is not the workaround I want.

      I don't know this can be fixed. There is a newer version of gpg available, but I haven't found anything related in the release notes. (current version: gpg (GnuPG) 2.2.11, latest 2.2.20)

        Attachments

          Activity

            People

            • Assignee:
              christ Chris Thistlethwaite
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m