-
Notifications
You must be signed in to change notification settings - Fork 61
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
Allow custom text for abort - just like the ok (proceed button) #54
base: master
Are you sure you want to change the base?
Conversation
Requested in JENKINS-66820. |
If you add a |
|
I've added both files. If you have any suggestions on how should they be worded, I welcome any suggestions. |
The file name does not match -- The first and second paragraphs of AFAIK, HTML does not allow Other than that, the wording looks OK to me. Have you tested that the pipeline snippet generator finds the help files and displays them correctly? |
Fixed the filename. I couldn't test the the pipeline snippet generator. Don't know where to look or how. If you could check that, it would be appreciated. |
any update here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit test?
I just can't remember if there are any assumptions about abort being actually called that? |
Not that I can think of. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK.
src/main/resources/org/jenkinsci/plugins/workflow/support/steps/input/InputStep/help-ok.html
Outdated
Show resolved
Hide resolved
src/main/resources/org/jenkinsci/plugins/workflow/support/steps/input/InputStep/help-abort.html
Outdated
Show resolved
Hide resolved
…s/input/InputStep/help-abort.html Co-authored-by: Jesse Glick <[email protected]>
…s/input/InputStep/help-ok.html Co-authored-by: Jesse Glick <[email protected]>
To reply to all the previous comments and questions and requirements for tests and all that... Anyone wants this to be built... feel free to take over, because I'm not going to be able to put any more time in this. |
It is possible to write automated tests for this as well as the label usage, but probably overkill in this simple case, especially where overall sanity of the GUI is key. Assuming you have a JDK and Maven installed, just run mvn hpi:run open the provided link, create a project, Configure, click the link for Pipeline Syntax (opens in new tab), select |
Sorry... I just don't have the capacity to do this anymore. |
Any news about this? Does anyone understands why the check was not successful? Is there anything else that should be done for this to be merged? |
Any news on this? |
Currently we are allowed to specify a custom text for the proceed button, but not for the abort.
Recently I had a project, where I was asking the user a question, and the "Abort" wasn't really aborting a build, and the word "Abort" didn't really make sense in the context it was used in.
This pr is to allow the users to specify the text on this button.
Any comments are welcome. Also, if you could tag this pr as a hacktoberfest pr, that would also be greatly appreciated! ;)