How to hide the script being displayed in the execution logs
pending feedback
J
Jade green Wildfowl
While executing the pipeline, how to hide the code/script being displayed in the execution logs.
Log In
Canny AI
Merged in a post:
The entire script is printed in the console log before the output for Tanzu Command is printed. Need a way to avoid printing this script
M
Mandarin Swordfish
The entire script is printed in the console log before the output for Tanzu Command is printed. Need a way to avoid printing this script
S
Sole Chimpanzee
We need this feature as well... it should work the same way that a ShellScript step does when the script is loaded from FileStore (not an option for Run steps or when we need to load more than one script file).
We have scripts that also use sourced scripts we store in the Harness file store that container numerous reusable bash functions. The sourced scripts can be hundreds of lines and the user has to scroll through a bunch of Harness YELLOW output to find the actual output of the script. Making the script visible is just a bad user experience. We would like the option to disable the output of the script.
Pranav Rastogi
pending feedback
J
Jade green Wildfowl
Pranav Rastogi: In the execution logs the code is being displayed and we don't want to show the code in the logs
Pranav Rastogi
Jade green Wildfowl Thank you for your feedback. Can you please describe your use-case on what you want to hide and why?
J
Jade green Wildfowl
Pranav Rastogi: We don't want the code whatever we write in the shell/bash scripts steps to be displayed in the execution logs. Sometimes the code is big and it is becoming difficult when we want to debug the error.