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

Nexus artifact uploader did not work for windows agent

      when I use Nexus artifact uploader plugin to upload zip files from windows agent to nexus server, but encountered below error.

      java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

      BTW, this plugin works for linux agent, also the zip file can be manually uploaded to nexus server on windows agent.

       

      Jenkins Version:  2.414.2

      Nexus Artifact Uploader Version: 2.14

          [JENKINS-72340] Nexus artifact uploader did not work for windows agent

          xiao yan created issue -
          xiao yan made changes -
          Description Original: when I use Nexus artifact uploader plugin to upload zip files from windows slave to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux slave.
          New: when I use Nexus artifact uploader plugin to upload zip files from windows slave to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux slave, also the zip file can be manually uploaded to nexus server.
          xiao yan made changes -
          Description Original: when I use Nexus artifact uploader plugin to upload zip files from windows slave to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux slave, also the zip file can be manually uploaded to nexus server.
          New: when I use Nexus artifact uploader plugin to upload zip files from windows slave to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux slave, also the zip file can be manually uploaded to nexus server.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          Mark Waite made changes -
          Summary Original: Nexus artifact uploader did not work for windows slave New: Nexus artifact uploader did not work for windows agent
          Mark Waite made changes -
          Description Original: when I use Nexus artifact uploader plugin to upload zip files from windows slave to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux slave, also the zip file can be manually uploaded to nexus server.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          New: when I use Nexus artifact uploader plugin to upload zip files from windows agent to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux agent, also the zip file can be manually uploaded to nexus server.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          xiao yan made changes -
          Description Original: when I use Nexus artifact uploader plugin to upload zip files from windows agent to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux agent, also the zip file can be manually uploaded to nexus server.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          New: when I use Nexus artifact uploader plugin to upload zip files from windows agent to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux agent, also the zip file can be manually uploaded to nexus server on windows agent.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          xiao yan made changes -
          Description Original: when I use Nexus artifact uploader plugin to upload zip files from windows agent to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin work for linux agent, also the zip file can be manually uploaded to nexus server on windows agent.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          New: when I use Nexus artifact uploader plugin to upload zip files from windows agent to nexus server, but encountered below error.

          java.io.IOException: Failed to deploy artifacts: Could not transfer artifact bundles:release-bundle:zip:70 from/to cmkm-release

          BTW, this plugin works for linux agent, also the zip file can be manually uploaded to nexus server on windows agent.

           

          Jenkins Version:  2.414.2

          Nexus Artifact Uploader Version: 2.14
          Mark Waite made changes -
          Comment [ Hello,

          You're right, the error message "java.io.IOException: Failed to deploy artifacts" indicates an issue with the Nexus Artifact Uploader plugin when uploading ZIP files from your Windows agent to Nexus. Here are some troubleshooting steps to address this:

          Check File Permissions:

          Ensure the Windows user running the Jenkins service has read and write permissions to the ZIP file and the directory it's located in. You can right-click on the file/folder, go to "Properties" > "Security" tab, and verify the user's permissions.
          Antivirus Interference:

          Some antivirus programs might interfere with file uploads. Temporarily disable your antivirus to see if it resolves the issue. Be sure to [marykayintouch com|https://www.marykayin-touch.com] re-enable it afterward for security. 
          Plugin Configuration:

          Double-check the Nexus Artifact Uploader plugin configuration in Jenkins. Ensure the path to the ZIP file is correct on the Windows agent and matches the configuration in the plugin settings.
          Network Connectivity:

          Verify that the Windows agent can connect to the Nexus server. Try pinging the Nexus server from the command prompt to confirm network connectivity.
          Log Files:

          Review the Jenkins logs (especially the Nexus Artifact Uploader plugin logs) for more detailed error messages that might provide specific clues about the issue. The logs might indicate issues like authentication problems or connection timeouts.
          Plugin Version Compatibility:

          While the plugin works for your Linux agent, it's possible there's a compatibility issue with the specific version you're using on Windows. Consider checking for newer versions of the Nexus Artifact Uploader plugin that might have bug fixes or improved Windows support.
          Alternative Approaches:

          If the issue persists, explore alternative methods for uploading ZIP files to Nexus:
          Use the Nexus REST API directly from a Windows script or program.
          Consider migrating to a different plugin that might offer better Windows support for ZIP file uploads.

           

            ]

            pskumar448 Suresh Kumar
            leixyan xiao yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: