Skip to content

Add ability to provide a label to a jf command #126

@Alinoe22

Description

@Alinoe22

Is your feature request related to a problem? Please describe.

Currently you add a jf command as a step like this:

jf "release-bundle-delete-local --project proj --server-id artifactory --quiet some-bundle 1.0.0"

When looking at this step in Jenkins BlueOcean it looks like this:

release-bundle-delete-local --project proj --server-id artifactory --quiet some-bundle 1.0.0 — jf command

The request is to add the ability to provide a label to the step in the same way we do for sh or bat

Describe the solution you'd like to see

Add the ability to write the command above like this:

jf label: 'Delete the release bundle', 
   script: "release-bundle-delete-local --project proj --server-id artifactory --quiet some-bundle 1.0.0"

resulting in the step looking like this:

release-bundle-delete-local --project proj --server-id artifactory --quiet some-bundle 1.0.0 — Delete the release bundle

Describe alternatives you've considered

No response

Additional context

No response

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