Title: Message Title
Steve Todorov created an issue
Jenkins / JENKINS-50157
Zip step fails to execute and dies with syntax error in a parallel stage with post step
Issue Type:
Bug
Assignee:
rsandell
Attachments:
error.log, Jenkinsfile
Components:
pipeline-utility-steps-plugin
Created:
2018-03-14 00:04
Environment:
Docker Container Alpine 3.7 Jenkins 2.101 pipeline-utility-steps-2.0.1 Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00) Maven home: /java/mvn-3.3.9 Java version: 1.8.0_161, vendor: Oracle Corporation Java home: /java/jdk-1.8u161-b12/jre Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.7-2.g353046a-default", arch: "amd64", family: "unix"
Priority:
Minor
Reporter:
Steve Todorov
We have a Jenkins job which tests out product using different tools such as sbt, maven, gradle and so on. Our build runs in parallel on multiple nodes and we wanted to "zip" some artifacts from the target directories for easier debugging. According to the documentation (as well as the generated Pipeline snippet from the Pipeline Syntax page) the following line should be working just fine:
zip archive: true, dir: './maven/target', glob: '', zipFile: 'maven-target.zip'
Unfortunately this is not the case