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

fail to copy copyArtifacts from another project's allure-results

      copy allure

       

      I referenced the above tutorial to copy the allure-results from another projects, and I used the following scrip on my upstream-job, which BT_LE_BIS_Feature is my downstream project, and has been completed before I scheduled this upstream-job.

       

       

      The executing result always showed that "target/allure-results" 

      Failed to copy artifacts from BT_LE_BIS_Feature with filter: target/allure-results/*

      Is there something wrong on my pipeline scrip?

       
      Copied 0 artifacts from "BT_LE_BIS_Feature" build number 16Error when executing always post condition:
      hudson.AbortException: Failed to copy artifacts from BT_LE_BIS_Feature with filter: *allure-results/
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:519)
      at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      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:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

          [JENKINS-65883] fail to copy copyArtifacts from another project's allure-results

          Wu created issue -
          Wu made changes -
          Description Original: [copy allure|https://medium.com/@andrewbayd/aggregated-allure-report-using-copy-artifact-jenkins-plugin-843068e216a7]

           

          I referenced the above tutorial to copy the allure-results from another projects, and I used the following scrip on my upstream-job, which BT_LE_BIS_Feature is my downstream project, and has been completed before I scheduled this upstream-job.

           

          !image-2021-06-13-15-54-06-467.png!

           

          The executing result always showed that "target/allure-results" 
          {quote}Failed to copy artifacts from BT_LE_BIS_Feature with filter: target/allure-results/*
          {quote}
          Is there something wrong on my pipeline scrip?
          New: [copy allure|https://medium.com/@andrewbayd/aggregated-allure-report-using-copy-artifact-jenkins-plugin-843068e216a7]

           

          I referenced the above tutorial to copy the allure-results from another projects, and I used the following scrip on my upstream-job, which BT_LE_BIS_Feature is my downstream project, and has been completed before I scheduled this upstream-job.

           

          !image-2021-06-13-15-54-06-467.png!

           

          The executing result always showed that "target/allure-results" 
          {quote}Failed to copy artifacts from BT_LE_BIS_Feature with filter: target/allure-results/*
          {quote}
          Is there something wrong on my pipeline scrip?

           
          Copied 0 artifacts from "[BT_LE_BIS_Feature|http://localhost:8080/job/BT_LE_BIS_Feature/]" build number [16|http://localhost:8080/job/BT_LE_BIS_Feature/16/]Error when executing always post condition:
          hudson.AbortException: Failed to copy artifacts from BT_LE_BIS_Feature with filter: **allure-results/*
          at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:519)
          at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
          at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
          at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          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:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
          Wu made changes -
          Description Original: [copy allure|https://medium.com/@andrewbayd/aggregated-allure-report-using-copy-artifact-jenkins-plugin-843068e216a7]

           

          I referenced the above tutorial to copy the allure-results from another projects, and I used the following scrip on my upstream-job, which BT_LE_BIS_Feature is my downstream project, and has been completed before I scheduled this upstream-job.

           

          !image-2021-06-13-15-54-06-467.png!

           

          The executing result always showed that "target/allure-results" 
          {quote}Failed to copy artifacts from BT_LE_BIS_Feature with filter: target/allure-results/*
          {quote}
          Is there something wrong on my pipeline scrip?

           
          Copied 0 artifacts from "[BT_LE_BIS_Feature|http://localhost:8080/job/BT_LE_BIS_Feature/]" build number [16|http://localhost:8080/job/BT_LE_BIS_Feature/16/]Error when executing always post condition:
          hudson.AbortException: Failed to copy artifacts from BT_LE_BIS_Feature with filter: **allure-results/*
          at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:519)
          at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
          at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
          at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
          at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          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:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
          New: [copy allure|https://medium.com/@andrewbayd/aggregated-allure-report-using-copy-artifact-jenkins-plugin-843068e216a7]

           

          I referenced the above tutorial to copy the allure-results from another projects, and I used the following scrip on my upstream-job, which BT_LE_BIS_Feature is my downstream project, and has been completed before I scheduled this upstream-job.

           

          !image-2021-06-13-15-54-06-467.png!

           

          The executing result always showed that "target/allure-results" 
          {quote}Failed to copy artifacts from BT_LE_BIS_Feature with filter: target/allure-results/*
          {quote}
          Is there something wrong on my pipeline scrip?
          {quote} 
           Copied 0 artifacts from "[BT_LE_BIS_Feature|http://localhost:8080/job/BT_LE_BIS_Feature/]" build number [16|http://localhost:8080/job/BT_LE_BIS_Feature/16/]Error when executing always post condition:
           hudson.AbortException: Failed to copy artifacts from BT_LE_BIS_Feature with filter: **allure-results/*
           at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:519)
           at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
           at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
           at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
           at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
           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:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
          {quote}
          ikedam made changes -
          Assignee New: Wu [ super6602 ]
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Resolution Original: Incomplete [ 4 ] New: Won't Do [ 10001 ]
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            super6602 Wu
            super6602 Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: