Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Alinoe22 opened this issue Feb 27, 2025 · 0 comments
Open

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

Alinoe22 opened this issue Feb 27, 2025 · 0 comments
Labels
feature request New feature or request

Comments

@Alinoe22
Copy link

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

@Alinoe22 Alinoe22 added the feature request New feature or request label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant