Cannot relativize '...' relatively to '...' in pipeline maven plugin 3.0.1

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi,

      I'm using pipeline-maven-plugin 3.0.1, with Jenkins (CLI I think) 2.85. For Freestyle jobs, when using Invoke top-level Maven targets, it's successful without any error/issue came up. However, when using withMaven in Declarative Pipeline, the issue of java.lang.IllegalArgumentException: Cannot relativize 'path' relatively to 'another_path' occurred. 

      I tried to use either -f 'path_to_pom.xml_file'**, or dir("${WORKSPACE}"), the issue was resolved in release:prepare step. Then in release:perform step, the artifacts/packages were uploaded to Nexus, and the build was successful, but the errors still occurred.

            Assignee:
            Arnaud Héritier
            Reporter:
            Nhan Hoang Nguyen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: