Hello Everyone,

I am using "Execute shell script on remote host using SSH" under Build section 
of the Job config with lines of shell script placed there.

And see all lines from the shell script are logged into Jenkins console log 
during job's execution.

Ex:

tarted by user anonymous<http://localhost:8080/jenkins/user/null>
[EnvInject] - Loading node environment variables.
Building in workspace ...
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.


executing script:
target_env="dev"

var1=${target_env}

key="test123"
branchName=dev_feature1
startDeploy()


case "$var1" in


dev )


.

.

.

esac


 So is there a way to disable/hide shell script contents from logging into 
Jenkins console output of the job.


Sent from Outlook<http://aka.ms/weboutlook>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/HK2PR03MB1857371344C566364709E32FA8A90%40HK2PR03MB1857.apcprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to