-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 option showRawYaml
in Jenkinsfiles
#519
Conversation
Change has been successfully tested e2e in Jenkins instance running in a Kubernetes cluster. |
Thanks for this. Would you mind adding a small unit test ? |
sure, could you please point me to the place where I can find the test for the non-pipeline use-case. I will then take this over. |
Thanks for the pointer. I added a simple Unit test now. I looked into testing the additions to class Hope this is fine ... |
This unit test is not really useful (merely testing the getter). Usually anything involving something related to pipeline steps is better tested using an integration test. Typically in your case, something that would look like
using the |
I fully agree that testing getters and setters is not of much value. Anyway, thank you for your hint. |
@Vlatombe thanks for helping out here! |
Add option to hide pod yaml also in Jenkinsfile pipeline execution by setting
showRawYaml: false
.https://issues.jenkins-ci.org/browse/JENKINS-57717