Skip to content

Fix Version Detection: whitespace not trimmed #300

@codezninja

Description

@codezninja

It looks like when consolidating we removed version trimming. Before the readFile function read the file and removed whitespace. Should we add that logic back OR maybe document it in the release?

version = version ?: Jenkinsfile.original.readFile(TERRAFORM_VERSION_FILE) ?: DEFAULT_VERSION

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions