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

Windows Exception processing the logs generated by the Jenkins Maven Event Spy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: pipeline-maven-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      Note: our build completes with SUCCESS without error or warnings on a Linux build agent.  The build completes with SUCCESS and the same outputs (except the missing non-archived pom.xml files) as the Linux build but has the warning messages displayed below.

      When running a withMaven build from a sh() build step on Windows:

      withMaven(jdk: config['jdk'], maven: config['maven'], mavenLocalRepo: config['mavenLocalRepo'], mavenSettingsConfig: config['mavenSettingsConfig']) \{
      
      sh('''\\
      
      if [[ -e "pom.xml" ]]; then
          # Run Jenkins maven wrapper script using mvn in Unix bash or mvn.cmd in cmd.exe from     Git for Windows bash
          if [[ -z "$COMSPEC" ]]; then
              cmd=(mvn)
          else
              cmd=("$COMSPEC" //c mvn.cmd)
          fi
          args=(--batch-mode -U -V --settings "$MVN_SETTINGS" clean install -P "$BUILD_PROFILE" \\
              "-DxlDeployServerAddress=$XLDEPLOY_SERVER_ADDRESS" "-DxlDeployPort=$XLDEPLOY_PORT" \\
              "-DxlDeploySecured=$XLDEPLOY_SECURED" "-DbuildUrl=$BUILD_URL")
          eval $(printf " %q" "$\{cmd[@]}" "$\{args[@]}")
       fi''')
      
      }
      

      We get the following error.  Note that the path that is generated for the archived pom.xml file by the 'pipeline-maven-plugin' is in correct in that it duplicates the directory prefix (C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ) twice.  See below:

       

      ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp\withMavenf5b2ab19\maven-spy-20170505-120300-155.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org
      java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:2215)
      	at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      	at org.jenkinsci.plugins.pipeline.maven.reporters.GeneratedArtifactsReporter.process(GeneratedArtifactsReporter.java:99)
      	at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:101)
      	at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$Callback.finished(WithMavenStepExecution.java:770)
      	at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
      	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
      	at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)
      	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
      	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
      	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
      	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
      	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
      	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
      	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
      	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
      	at hudson.remoting.Channel$2.adapt(Channel.java:862)
      	at hudson.remoting.Channel$2.adapt(Channel.java:857)
      	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:2213)
      	... 27 more 
      Caused by: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml 
      	at hudson.util.io.TarArchiver.visit(TarArchiver.java:110)
      	at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
      	at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)|
      	at hudson.FilePath.writeToTar(FilePath.java:2251)
      	at hudson.FilePath.access$2100(FilePath.java:195)
      	at hudson.FilePath$45.invoke(FilePath.java:2194)
      	at hudson.FilePath$45.invoke(FilePath.java:2190)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      	at hudson.remoting.Request$2.run(Request.java:336)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at hudson.remoting.Engine$1$1.run(Engine.java:94)
      	at java.lang.Thread.run(Thread.java:745)
      	at ......remote call to JNLP4-connect connection from hlbwbdgtd101.corp.standard.com/192.168.137.149:50719(Native Method)
      	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
      	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      	at hudson.remoting.Channel$2.adapt(Channel.java:860) ... 30 more 
      Caused by: java.io.FileNotFoundException: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml (The filename, directory name, or volume label syntax is incorrect)
      	 at java.io.FileInputStream.open0(Native Method)
      	 at java.io.FileInputStream.open(FileInputStream.java:195)
      	 at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	 at hudson.util.io.TarArchiver.visit(TarArchiver.java:103)
      	 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
      	 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)
      	 at hudson.FilePath.writeToTar(FilePath.java:2251)
      	 at hudson.FilePath.access$2100(FilePath.java:195)
      	 at hudson.FilePath$45.invoke(FilePath.java:2194)
      	 at hudson.FilePath$45.invoke(FilePath.java:2190)
      	 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
      	 at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      	 at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      	 at hudson.remoting.Request$2.run(Request.java:336)
      	 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	 at hudson.remoting.Engine$1$1.run(Engine.java:94)
      	 ... 1 more
      

        Attachments

        1. log.txt
          1.12 MB
        2. log.txt
          1.11 MB
        3. pipeline-maven-20170510-1407.hpi
          1.09 MB
        4. pipeline-maven-2017-05-12-00-23.hpi
          1.09 MB

          Issue Links

            Activity

            flstaats Frederick Staats created issue -
            cleclerc Cyrille Le Clerc made changes -
            Field Original Value New Value
            Description Note: our build completes with SUCCESS without error or warnings on a Linux build agent.  The build completes with SUCCESS and the same outputs (except the missing non-archived pom.xml files) as the Linux build but has the warning messages displayed below.

            When running a withMaven build from a sh() build step on Windows:

            withMaven(jdk: config['jdk'], maven: config['maven'], mavenLocalRepo: config['mavenLocalRepo'], mavenSettingsConfig: config['mavenSettingsConfig']) \{

            sh('''\\

            if [[ -e "pom.xml" ]]; then
                # Run Jenkins maven wrapper script using mvn in Unix bash or mvn.cmd in cmd.exe from     Git for Windows bash
                if [[ -z "$COMSPEC" ]]; then
                    cmd=(mvn)
                else
                    cmd=("$COMSPEC" //c mvn.cmd)
                fi
                args=(--batch-mode -U -V --settings "$MVN_SETTINGS" clean install -P "$BUILD_PROFILE" \\
                    "-DxlDeployServerAddress=$XLDEPLOY_SERVER_ADDRESS" "-DxlDeployPort=$XLDEPLOY_PORT" \\
                    "-DxlDeploySecured=$XLDEPLOY_SECURED" "-DbuildUrl=$BUILD_URL")
                eval $(printf " %q" "$\{cmd[@]}" "$\{args[@]}")
             fi''')

            }

            We get the following error.  Note that the path that is generated for the archived pom.xml file by the 'pipeline-maven-plugin' is in correct in that it duplicates the directory prefix (C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\) twice.  See below:

             

            ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp\withMavenf5b2ab19\maven-spy-20170505-120300-155.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at

            [https://issues.jenkins-ci.org|https://issues.jenkins-ci.org/] [java.io.IOException|http://stacktrace.jenkins-ci.org/search?query=java.io.IOException]

            : java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: {color:#ff0000}C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml{color} at

            [hudson.FilePath.copyRecursiveTo(FilePath.java:2215)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.copyRecursiveTo&entity=method]

            at

            [jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)|http://stacktrace.jenkins-ci.org/search/?query=jenkins.model.StandardArtifactManager.archive&entity=method]

            at

            [org.jenkinsci.plugins.pipeline.maven.reporters.GeneratedArtifactsReporter.process(GeneratedArtifactsReporter.java:99)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.pipeline.maven.reporters.GeneratedArtifactsReporter.process&entity=method]

            at

            [org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:101)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs&entity=method]

            at

            [org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$Callback.finished(WithMavenStepExecution.java:770)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$Callback.finished&entity=method]

            at

            [org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive&entity=method]

            at

            [com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)|http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.groovy.cps.Outcome.resumeFrom&entity=method]

            at

            [com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)|http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.groovy.cps.Continuable.run0&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call&entity=method]

            at

            [org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call&entity=method]

            at

            [org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)|http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call&entity=method]

            at

            [java.util.concurrent.FutureTask.run(FutureTask.java:266)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method]

            at

            [hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.SingleLaneExecutorService$1.run&entity=method]

            at

            [jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)|http://stacktrace.jenkins-ci.org/search/?query=jenkins.util.ContextResettingExecutorService$1.run&entity=method]

            at

            [java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.Executors$RunnableAdapter.call&entity=method]

            at

            [java.util.concurrent.FutureTask.run(FutureTask.java:266)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method]

            at

            [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method]

            at

            [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method]

            at

            [java.lang.Thread.run(Thread.java:745)|http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method]

            Caused by:

            [java.util.concurrent.ExecutionException|http://stacktrace.jenkins-ci.org/search?query=java.util.concurrent.ExecutionException]

            : java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml at

            [hudson.remoting.Channel$2.adapt(Channel.java:862)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel$2.adapt&entity=method]

            at

            [hudson.remoting.Channel$2.adapt(Channel.java:857)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel$2.adapt&entity=method]

            at

            [hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.FutureAdapter.get&entity=method]

            at

            [hudson.FilePath.copyRecursiveTo(FilePath.java:2213)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.copyRecursiveTo&entity=method]

            ... 27 more Caused by:

            [java.io.IOException|http://stacktrace.jenkins-ci.org/search?query=java.io.IOException]

            : Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml at

            [hudson.util.io.TarArchiver.visit(TarArchiver.java:110)|http://stacktrace.jenkins-ci.org/search/?query=hudson.util.io.TarArchiver.visit&entity=method]

            at

            [hudson.util.DirScanner.scanSingle(DirScanner.java:49)|http://stacktrace.jenkins-ci.org/search/?query=hudson.util.DirScanner.scanSingle&entity=method]

            at

            [hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$ExplicitlySpecifiedDirScanner.scan&entity=method]

            at

            [hudson.FilePath.writeToTar(FilePath.java:2251)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.writeToTar&entity=method]

            at

            [hudson.FilePath.access$2100(FilePath.java:195)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.access$2100&entity=method]

            at

            [hudson.FilePath$45.invoke(FilePath.java:2194)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$45.invoke&entity=method]

            at

            [hudson.FilePath$45.invoke(FilePath.java:2190)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$45.invoke&entity=method]

            at

            [hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$FileCallableWrapper.call&entity=method]

            at

            [hudson.remoting.UserRequest.perform(UserRequest.java:153)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method]

            at

            [hudson.remoting.UserRequest.perform(UserRequest.java:50)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method]

            at

            [hudson.remoting.Request$2.run(Request.java:336)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method]

            at

            [hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method]

            at

            [java.util.concurrent.FutureTask.run(FutureTask.java:266)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method]

            at

            [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method]

            at

            [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method]

            at

            [hudson.remoting.Engine$1$1.run(Engine.java:94)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Engine$1$1.run&entity=method]

            at

            [java.lang.Thread.run(Thread.java:745)|http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method]

            at ......remote call to JNLP4-connect connection from hlbwbdgtd101.corp.standard.com/192.168.137.149:50719(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545) at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) at hudson.remoting.Channel$2.adapt(Channel.java:860) ... 30 more Caused by: java.io.FileNotFoundException: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.util.io.TarArchiver.visit(TarArchiver.java:103) at hudson.util.DirScanner.scanSingle(DirScanner.java:49) at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804) at hudson.FilePath.writeToTar(FilePath.java:2251) at hudson.FilePath.access$2100(FilePath.java:195) at hudson.FilePath$45.invoke(FilePath.java:2194) at hudson.FilePath$45.invoke(FilePath.java:2190) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:336) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at hudson.remoting.Engine$1$1.run(Engine.java:94) ... 1 more
            Note: our build completes with SUCCESS without error or warnings on a Linux build agent.  The build completes with SUCCESS and the same outputs (except the missing non-archived pom.xml files) as the Linux build but has the warning messages displayed below.

            When running a withMaven build from a sh() build step on Windows:

            {code}
            withMaven(jdk: config['jdk'], maven: config['maven'], mavenLocalRepo: config['mavenLocalRepo'], mavenSettingsConfig: config['mavenSettingsConfig']) \{

            sh('''\\

            if [[ -e "pom.xml" ]]; then
                # Run Jenkins maven wrapper script using mvn in Unix bash or mvn.cmd in cmd.exe from     Git for Windows bash
                if [[ -z "$COMSPEC" ]]; then
                    cmd=(mvn)
                else
                    cmd=("$COMSPEC" //c mvn.cmd)
                fi
                args=(--batch-mode -U -V --settings "$MVN_SETTINGS" clean install -P "$BUILD_PROFILE" \\
                    "-DxlDeployServerAddress=$XLDEPLOY_SERVER_ADDRESS" "-DxlDeployPort=$XLDEPLOY_PORT" \\
                    "-DxlDeploySecured=$XLDEPLOY_SECURED" "-DbuildUrl=$BUILD_URL")
                eval $(printf " %q" "$\{cmd[@]}" "$\{args[@]}")
             fi''')

            }
            {code}

            We get the following error.  Note that the path that is generated for the archived pom.xml file by the 'pipeline-maven-plugin' is in correct in that it duplicates the directory prefix (C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\) twice.  See below:

             
            {noformat}
            ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp\withMavenf5b2ab19\maven-spy-20170505-120300-155.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org
            java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.FilePath.copyRecursiveTo(FilePath.java:2215)
            at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
            at org.jenkinsci.plugins.pipeline.maven.reporters.GeneratedArtifactsReporter.process(GeneratedArtifactsReporter.java:99)
            at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:101)
            at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$Callback.finished(WithMavenStepExecution.java:770)
            at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
            at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
            at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)
            at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
            at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
            at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
            at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
            at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
            Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.remoting.Channel$2.adapt(Channel.java:862)
            at hudson.remoting.Channel$2.adapt(Channel.java:857)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.FilePath.copyRecursiveTo(FilePath.java:2213)
            ... 27 more
            Caused by: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.util.io.TarArchiver.visit(TarArchiver.java:110)
            at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
            at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)|
            at hudson.FilePath.writeToTar(FilePath.java:2251)
            at hudson.FilePath.access$2100(FilePath.java:195)
            at hudson.FilePath$45.invoke(FilePath.java:2194)
            at hudson.FilePath$45.invoke(FilePath.java:2190)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            at java.lang.Thread.run(Thread.java:745)
            at ......remote call to JNLP4-connect connection from hlbwbdgtd101.corp.standard.com/192.168.137.149:50719(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
            at hudson.remoting.Channel$2.adapt(Channel.java:860) ... 30 more
            Caused by: java.io.FileNotFoundException: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml (The filename, directory name, or volume label syntax is incorrect)
            at java.io.FileInputStream.open0(Native Method)
            at java.io.FileInputStream.open(FileInputStream.java:195)
            at java.io.FileInputStream.<init>(FileInputStream.java:138)
            at hudson.util.io.TarArchiver.visit(TarArchiver.java:103)
            at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
            at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)
            at hudson.FilePath.writeToTar(FilePath.java:2251)
            at hudson.FilePath.access$2100(FilePath.java:195)
            at hudson.FilePath$45.invoke(FilePath.java:2194)
            at hudson.FilePath$45.invoke(FilePath.java:2190)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            ... 1 more
            {code}
            cleclerc Cyrille Le Clerc made changes -
            Description Note: our build completes with SUCCESS without error or warnings on a Linux build agent.  The build completes with SUCCESS and the same outputs (except the missing non-archived pom.xml files) as the Linux build but has the warning messages displayed below.

            When running a withMaven build from a sh() build step on Windows:

            {code}
            withMaven(jdk: config['jdk'], maven: config['maven'], mavenLocalRepo: config['mavenLocalRepo'], mavenSettingsConfig: config['mavenSettingsConfig']) \{

            sh('''\\

            if [[ -e "pom.xml" ]]; then
                # Run Jenkins maven wrapper script using mvn in Unix bash or mvn.cmd in cmd.exe from     Git for Windows bash
                if [[ -z "$COMSPEC" ]]; then
                    cmd=(mvn)
                else
                    cmd=("$COMSPEC" //c mvn.cmd)
                fi
                args=(--batch-mode -U -V --settings "$MVN_SETTINGS" clean install -P "$BUILD_PROFILE" \\
                    "-DxlDeployServerAddress=$XLDEPLOY_SERVER_ADDRESS" "-DxlDeployPort=$XLDEPLOY_PORT" \\
                    "-DxlDeploySecured=$XLDEPLOY_SECURED" "-DbuildUrl=$BUILD_URL")
                eval $(printf " %q" "$\{cmd[@]}" "$\{args[@]}")
             fi''')

            }
            {code}

            We get the following error.  Note that the path that is generated for the archived pom.xml file by the 'pipeline-maven-plugin' is in correct in that it duplicates the directory prefix (C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\) twice.  See below:

             
            {noformat}
            ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp\withMavenf5b2ab19\maven-spy-20170505-120300-155.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org
            java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.FilePath.copyRecursiveTo(FilePath.java:2215)
            at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
            at org.jenkinsci.plugins.pipeline.maven.reporters.GeneratedArtifactsReporter.process(GeneratedArtifactsReporter.java:99)
            at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:101)
            at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$Callback.finished(WithMavenStepExecution.java:770)
            at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
            at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
            at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)
            at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
            at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
            at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
            at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
            at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
            Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.remoting.Channel$2.adapt(Channel.java:862)
            at hudson.remoting.Channel$2.adapt(Channel.java:857)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.FilePath.copyRecursiveTo(FilePath.java:2213)
            ... 27 more
            Caused by: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.util.io.TarArchiver.visit(TarArchiver.java:110)
            at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
            at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)|
            at hudson.FilePath.writeToTar(FilePath.java:2251)
            at hudson.FilePath.access$2100(FilePath.java:195)
            at hudson.FilePath$45.invoke(FilePath.java:2194)
            at hudson.FilePath$45.invoke(FilePath.java:2190)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            at java.lang.Thread.run(Thread.java:745)
            at ......remote call to JNLP4-connect connection from hlbwbdgtd101.corp.standard.com/192.168.137.149:50719(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
            at hudson.remoting.Channel$2.adapt(Channel.java:860) ... 30 more
            Caused by: java.io.FileNotFoundException: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml (The filename, directory name, or volume label syntax is incorrect)
            at java.io.FileInputStream.open0(Native Method)
            at java.io.FileInputStream.open(FileInputStream.java:195)
            at java.io.FileInputStream.<init>(FileInputStream.java:138)
            at hudson.util.io.TarArchiver.visit(TarArchiver.java:103)
            at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
            at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)
            at hudson.FilePath.writeToTar(FilePath.java:2251)
            at hudson.FilePath.access$2100(FilePath.java:195)
            at hudson.FilePath$45.invoke(FilePath.java:2194)
            at hudson.FilePath$45.invoke(FilePath.java:2190)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            ... 1 more
            {code}
            Note: our build completes with SUCCESS without error or warnings on a Linux build agent.  The build completes with SUCCESS and the same outputs (except the missing non-archived pom.xml files) as the Linux build but has the warning messages displayed below.

            When running a withMaven build from a sh() build step on Windows:

            {code}
            withMaven(jdk: config['jdk'], maven: config['maven'], mavenLocalRepo: config['mavenLocalRepo'], mavenSettingsConfig: config['mavenSettingsConfig']) \{

            sh('''\\

            if [[ -e "pom.xml" ]]; then
                # Run Jenkins maven wrapper script using mvn in Unix bash or mvn.cmd in cmd.exe from     Git for Windows bash
                if [[ -z "$COMSPEC" ]]; then
                    cmd=(mvn)
                else
                    cmd=("$COMSPEC" //c mvn.cmd)
                fi
                args=(--batch-mode -U -V --settings "$MVN_SETTINGS" clean install -P "$BUILD_PROFILE" \\
                    "-DxlDeployServerAddress=$XLDEPLOY_SERVER_ADDRESS" "-DxlDeployPort=$XLDEPLOY_PORT" \\
                    "-DxlDeploySecured=$XLDEPLOY_SECURED" "-DbuildUrl=$BUILD_URL")
                eval $(printf " %q" "$\{cmd[@]}" "$\{args[@]}")
             fi''')

            }
            {code}

            We get the following error.  Note that the path that is generated for the archived pom.xml file by the 'pipeline-maven-plugin' is in correct in that it duplicates the directory prefix (C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\) twice.  See below:

             
            {noformat}
            ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp\withMavenf5b2ab19\maven-spy-20170505-120300-155.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org
            java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.FilePath.copyRecursiveTo(FilePath.java:2215)
            at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
            at org.jenkinsci.plugins.pipeline.maven.reporters.GeneratedArtifactsReporter.process(GeneratedArtifactsReporter.java:99)
            at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:101)
            at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$Callback.finished(WithMavenStepExecution.java:770)
            at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
            at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
            at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)
            at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
            at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
            at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
            at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:165)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
            at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
            at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
            at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
            Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.remoting.Channel$2.adapt(Channel.java:862)
            at hudson.remoting.Channel$2.adapt(Channel.java:857)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.FilePath.copyRecursiveTo(FilePath.java:2213)
            ... 27 more
            Caused by: java.io.IOException: Error writing to tar file from: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml
            at hudson.util.io.TarArchiver.visit(TarArchiver.java:110)
            at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
            at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)|
            at hudson.FilePath.writeToTar(FilePath.java:2251)
            at hudson.FilePath.access$2100(FilePath.java:195)
            at hudson.FilePath$45.invoke(FilePath.java:2194)
            at hudson.FilePath$45.invoke(FilePath.java:2190)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            at java.lang.Thread.run(Thread.java:745)
            at ......remote call to JNLP4-connect connection from hlbwbdgtd101.corp.standard.com/192.168.137.149:50719(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
            at hudson.remoting.Channel$2.adapt(Channel.java:860) ... 30 more
            Caused by: java.io.FileNotFoundException: C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\C:\Jenkins\workspace\EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ\BREJBOSSDeployTestDevWeb\pom.xml (The filename, directory name, or volume label syntax is incorrect)
            at java.io.FileInputStream.open0(Native Method)
            at java.io.FileInputStream.open(FileInputStream.java:195)
            at java.io.FileInputStream.<init>(FileInputStream.java:138)
            at hudson.util.io.TarArchiver.visit(TarArchiver.java:103)
            at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
            at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2804)
            at hudson.FilePath.writeToTar(FilePath.java:2251)
            at hudson.FilePath.access$2100(FilePath.java:195)
            at hudson.FilePath$45.invoke(FilePath.java:2194)
            at hudson.FilePath$45.invoke(FilePath.java:2190)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            ... 1 more
            {noformat}
            cleclerc Cyrille Le Clerc made changes -
            Link This issue duplicates JENKINS-43617 [ JENKINS-43617 ]
            cleclerc Cyrille Le Clerc made changes -
            Assignee Alvaro Lobato [ alobato ] Cyrille Le Clerc [ cleclerc ]
            cleclerc Cyrille Le Clerc made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            flstaats Frederick Staats made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            flstaats Frederick Staats made changes -
            Attachment log.txt [ 37707 ]
            cleclerc Cyrille Le Clerc made changes -
            Attachment pipeline-maven-20170510-1407.hpi [ 37722 ]
            flstaats Frederick Staats made changes -
            Attachment log.txt [ 37727 ]
            flstaats Frederick Staats made changes -
            Attachment log.txt [ 37728 ]
            flstaats Frederick Staats made changes -
            Comment [ As requested I've run again with maven-pipeline-plugin [2.2.1-SNAPSHOT (private-d9736e69-cyrilleleclerc)|https://jenkins-dev.standard.com:8443/pluginManager/plugin/pipeline-maven/thirdPartyLicenses]

            Build log on for the maven build [^log.txt]

            From org.jenkinsci.plugins.pipeline.maven logging with ALL:

             
            {code:java}
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Maven: apache-maven-3.3.9
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Jdk: jdk-1.8.0_121
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            MavenOpts:
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Settings Config: 1d55aa95-f6d2-4b10-af3d-5474d71f9de0
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Settings FilePath:
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Global settings Config: null
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Global settings FilePath:
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Computer: hlbwbdgtd101 windows x64
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Env: {ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\svc_jenkins_np\AppData\Roaming, BASE=C:\Jenkins, CommonProgramFiles=C:\Program Files\Common Files, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, CommonProgramW6432=C:\Program Files\Common Files, COMPUTERNAME=HLBWBDGTD101, ComSpec=C:\Windows\system32\cmd.exe, FP_NO_HOST_CHECK=NO, LOCALAPPDATA=C:\Users\svc_jenkins_np\AppData\Local, NUMBER_OF_PROCESSORS=2, OS=Windows_NT, Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Puppet Labs\Puppet\bin;C:\Bretools\bretools-1.0.4\Git\git-2.11.0.3\bin;C:\Bretools\bretools-1.0.4\Git\git-2.11.0.3\usr\bin;C:\Bretools\bretools-1.0.4\Git\gitlfs-1.5.5, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 0, GenuineIntel, PROCESSOR_LEVEL=6, PROCESSOR_REVISION=3f00, ProgramData=C:\ProgramData, ProgramFiles=C:\Program Files, ProgramFiles(x86)=C:\Program Files (x86), ProgramW6432=C:\Program Files, PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SERVICE_ID=jenkinsslave-C__Jenkins, SystemDrive=C:, SystemRoot=C:\Windows, TEMP=C:\Users\SVC_JE~1\AppData\Local\Temp, TMP=C:\Users\SVC_JE~1\AppData\Local\Temp, UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77, USERDNSDOMAIN=CORP.STANDARD.COM, USERDOMAIN=SIC, USERNAME=svc_jenkins_np, USERPROFILE=C:\Users\svc_jenkins_np, windir=C:\Windows, WINSW_EXECUTABLE=C:\Jenkins\jenkins-slave.exe}
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Setting up maven: apache-maven-3.3.9
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Found maven installation apache-maven-3.3.9 with installation home null
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Found exec for maven on: C:\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\apache-maven-3.3.9\apache-maven-3.3.9\bin\mvn.cmd
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Using temp dir: C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Load embedded maven spy jar 'META-INF/lib/pipeline-maven-spy.jar'
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Load META-INF/lib/pipeline-maven-spy.jar using classloader class hudson.ClassicPluginStrategy$AntClassLoader2: AntClassLoader[/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/commons-lang-2.6.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/groovy-sandbox-1.10.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/joda-time-2.9.5.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/pipeline-maven.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/xml-apis-1.4.01.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/annotation-indexer-1.9.jar]
            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Generated wrapper: @echo off
            echo ----- withMaven Wrapper script -----
            C:\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\apache-maven-3.3.9\apache-maven-3.3.9\bin\mvn.cmd --settings C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184/settings.xml -Dmaven.repo.local=C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ/.repository --batch-mode --show-version %*

            May 10, 2017 11:07:09 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Overrides: {JAVA_HOME=C:/Jenkins/tools/hudson.model.JDK/jdk-1.8.0_121/jdk1.8.0_121, JAVA_TOOL_OPTIONS=-Dmaven.ext.class.path="C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184" , M2_HOME=C:/Jenkins/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.3.9/apache-maven-3.3.9, MAVEN_HOME=C:/Jenkins/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.3.9/apache-maven-3.3.9, MVN_SETTINGS=C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184/settings.xml, PATH+JDK=C:/Jenkins/tools/hudson.model.JDK/jdk-1.8.0_121/jdk1.8.0_121/bin, PATH+MAVEN=C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184}
            May 10, 2017 11:07:51 AM FINE org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor
            Found 2 maven execution reports in C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven40b2d184
            May 10, 2017 11:07:51 AM FINE org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor
            Look for generated artifacts to archive, file C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ/.skip-archive-generated-artifacts NOT found in workspace
            May 10, 2017 11:07:51 AM FINE org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor
            Look for generated artifacts to archive, file C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ/.skip-archive-generated-artifacts NOT found in workspace
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Maven: apache-maven-3.3.9
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Jdk: jdk-1.8.0_121
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            MavenOpts:
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Settings Config: 1d55aa95-f6d2-4b10-af3d-5474d71f9de0
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Settings FilePath:
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Global settings Config: null
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Global settings FilePath:
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Computer: hlbwbdgtd101 windows x64
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Env: {ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\svc_jenkins_np\AppData\Roaming, BASE=C:\Jenkins, CommonProgramFiles=C:\Program Files\Common Files, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, CommonProgramW6432=C:\Program Files\Common Files, COMPUTERNAME=HLBWBDGTD101, ComSpec=C:\Windows\system32\cmd.exe, FP_NO_HOST_CHECK=NO, LOCALAPPDATA=C:\Users\svc_jenkins_np\AppData\Local, NUMBER_OF_PROCESSORS=2, OS=Windows_NT, Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Puppet Labs\Puppet\bin;C:\Bretools\bretools-1.0.4\Git\git-2.11.0.3\bin;C:\Bretools\bretools-1.0.4\Git\git-2.11.0.3\usr\bin;C:\Bretools\bretools-1.0.4\Git\gitlfs-1.5.5, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 0, GenuineIntel, PROCESSOR_LEVEL=6, PROCESSOR_REVISION=3f00, ProgramData=C:\ProgramData, ProgramFiles=C:\Program Files, ProgramFiles(x86)=C:\Program Files (x86), ProgramW6432=C:\Program Files, PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SERVICE_ID=jenkinsslave-C__Jenkins, SystemDrive=C:, SystemRoot=C:\Windows, TEMP=C:\Users\SVC_JE~1\AppData\Local\Temp, TMP=C:\Users\SVC_JE~1\AppData\Local\Temp, UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77, USERDNSDOMAIN=CORP.STANDARD.COM, USERDOMAIN=SIC, USERNAME=svc_jenkins_np, USERPROFILE=C:\Users\svc_jenkins_np, windir=C:\Windows, WINSW_EXECUTABLE=C:\Jenkins\jenkins-slave.exe}
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Setting up maven: apache-maven-3.3.9
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Found maven installation apache-maven-3.3.9 with installation home null
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Found exec for maven on: C:\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\apache-maven-3.3.9\apache-maven-3.3.9\bin\mvn.cmd
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Using temp dir: C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Load embedded maven spy jar 'META-INF/lib/pipeline-maven-spy.jar'
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Load META-INF/lib/pipeline-maven-spy.jar using classloader class hudson.ClassicPluginStrategy$AntClassLoader2: AntClassLoader[/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/commons-lang-2.6.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/groovy-sandbox-1.10.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/joda-time-2.9.5.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/pipeline-maven.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/xml-apis-1.4.01.jar:/opt/apps/jenkins/plugins/pipeline-maven/WEB-INF/lib/annotation-indexer-1.9.jar]
            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Generated wrapper: @echo off
            echo ----- withMaven Wrapper script -----
            C:\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\apache-maven-3.3.9\apache-maven-3.3.9\bin\mvn.cmd --settings C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb/settings.xml -Dmaven.repo.local=C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ/.repository --batch-mode --show-version %*

            May 10, 2017 11:07:53 AM FINE org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution
            Overrides: {JAVA_HOME=C:/Jenkins/tools/hudson.model.JDK/jdk-1.8.0_121/jdk1.8.0_121, JAVA_TOOL_OPTIONS=-Dmaven.ext.class.path="C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb" , M2_HOME=C:/Jenkins/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.3.9/apache-maven-3.3.9, MAVEN_HOME=C:/Jenkins/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.3.9/apache-maven-3.3.9, MVN_SETTINGS=C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb/settings.xml, PATH+JDK=C:/Jenkins/tools/hudson.model.JDK/jdk-1.8.0_121/jdk1.8.0_121/bin, PATH+MAVEN=C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb}
            May 10, 2017 11:08:19 AM FINE org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor
            Found 1 maven execution reports in C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ@tmp/withMaven94701feb
            May 10, 2017 11:08:19 AM FINE org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor
            Look for generated artifacts to archive, file C:/Jenkins/workspace/EJBOSSDeployTestDev_develop-2OFPXUJSF6HFU25YUKSWFWG43K6VCJBQJOLEUCRP2WYWTF57AETQ/.skip-archive-generated-artifacts NOT found in workspace
            {code}
             

              ]
            flstaats Frederick Staats made changes -
            Attachment log.txt [ 37729 ]
            cleclerc Cyrille Le Clerc made changes -
            cleclerc Cyrille Le Clerc made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            flstaats Frederick Staats made changes -
            Attachment log.txt [ 37728 ]
            flstaats Frederick Staats made changes -
            Attachment log.txt [ 37727 ]

              People

              • Assignee:
                cleclerc Cyrille Le Clerc
                Reporter:
                flstaats Frederick Staats
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: