Skip to content

Logic change in how paths are validated #545

@liampuk

Description

@liampuk

Thank you for taking your time to talk with us!

What is this issue about?

  • Bug report
  • Feature request
  • Question

Description

I'm having some issues with AsciiDoctor not being able to find generated-docs during my Jenkins build. This seems to be as Jenkins sometimes truncates the workspace folder in the path to start with _. Previously this was not a problem as asciiDoctor only checks the file name for an _ prefix, but after #535 every part of the path is checked for for _ prefixes.

old code vs new code

an example path from a failed build:
/var/lib/jenkins/workspace/_service_name_develop/service-name-service/src/docs/asciidoc

Was this intentional? If not can this be reverted to the previous logic?

Environment information

  • asciidoctor-maven-plugin version: 2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions