Skip to content

transformationSet parameter value doesn't work on Linux #56

@Prifiz

Description

@Prifiz

Hello,
I configured transformationSet in the following way:
<transformationSet> <!--some config here--> <parameters> <parameter> <name>config_file</name> <value>${project.build.directory}/path/to/my/config.xml</value> </parameter> </parameters> </transformationSet>
Being executed on linux, it is failing with an error:
ERROR: 'opt'
ERROR: 'File not found: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: opt'
ERROR: 'com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException: file://opt/jenkins/workspace/path/to/my/config.xml'

But when I added / at the start of content like this
/${project.build.directory}/path/to/my/config.xml
it worked.
Seems like one trailing slash is missing in "file://" protocol notation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions