Skip to content

Confusing messaging when using command on ssh executor #1374

@alangrafu

Description

@alangrafu

Using ssh executor

    command: |
      cd /root/ && \
      curl --retry 5 -m 10  https://XYZ && \
      ./command analyze && \
      curl --retry 5 -m 10  https://XYZ

fails, but

    command: |
      cd /root/ && curl --retry 5 -m 10  XYZ && ./command analyze && curl --retry 5 -m 10  https://XYZ

works fine. I got an error saying use command instead of script, but that is what I did.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions