Skip to content

syntax error near unexpected token `newline' #232

@SerhiiKorolik

Description

@SerhiiKorolik

When trying to access "currentBuild.buildCauses[0].shortDescription" receive error
pipeline@tmp/durable-dc6fd640/script.sh: line 1: syntax error near unexpected token `newline'

This variable is great to use in when {} expressions. It would be great to have it.
For other plugins this call retrieve information about action that triggered the job (e.g. Started by an SCM change)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions