Details

    • Similar Issues:

      Description

      steps to reproduce

      • Create a new master on windows 10 - set to use zero executors
      • Create a new agent use launch as command and use java -jar C:\workarea\wars\JENKINS-43638\war\WEB-INF\slave.jar as the command.
      • specify to start the node in C:\workarea\wars\DELETE_ME
      • install maven plugin and maven pipeline plugin
      • run a pipeline like the following
      node {
        withMaven(maven: 'default') {
          git changelog: false, poll: false, url: 'https://github.com/jtnord/maven-test-project.git'
          bat "mvn package"
        }
      }
      

      expected results

      job runs and archives stuff

      actual results

      job artifact archive fails as it tries to archive everything with invalid paths and the build result is set to SUCCESS (ie the error is silently swallowed which is wrong on so many levels)

      see https://gist.github.com/jtnord/3c462cc6448c3faece4d9721e1daddc2 for the full log.

       

        Attachments

          Issue Links

            Activity

            Hide
            teilo James Nord added a comment -

            Also note that I have one artifact archived - but incorrectly - it is a zero byte jar file :-0

            Show
            teilo James Nord added a comment - Also note that I have one artifact archived - but incorrectly - it is a zero byte jar file :-0
            Hide
            cervator Cervator added a comment -

            I can confirm this issue exactly - Windows, bad paths (absolute path getting attached where a relative path probably is intended), 0 byte single attachment. Example path:

             

            D:\CM\Jenkins\workspace\FLCSS_JavaBatch_official\D:\CM\Jenkins\workspace\FLCSS_JavaBatch_official\VectorSettlementCaptureBatch\pom.xml

            Show
            cervator Cervator added a comment - I can confirm this issue exactly - Windows, bad paths (absolute path getting attached where a relative path probably is intended), 0 byte single attachment. Example path:   D:\CM\Jenkins\workspace\FLCSS_JavaBatch_official\D:\CM\Jenkins\workspace\FLCSS_JavaBatch_official\VectorSettlementCaptureBatch\pom.xml
            Hide
            cleclerc Cyrille Le Clerc added a comment -

            Solved in version 2.2.0

            Show
            cleclerc Cyrille Le Clerc added a comment - Solved in version 2.2.0

              People

              • Assignee:
                cleclerc Cyrille Le Clerc
                Reporter:
                teilo James Nord
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: