Why would you want to do that? Hide confidential information?
Did you know that even if you delete the link, variables can be displayed through:
http://jenkins/job/YourJob/1/injectedEnvVars ?
Or according to EnvInjectPlugin-VariablesTraceability :
"You can also get build environment variables as follows
HTTP GET URL: <jenkins_url>/job/<job_name>/<build_number>/injectedEnvVars/export "
However, if you simply remove the link and change the plugin, you do not need to add the following to Jenkins' run/jenkins/war/css/style.css :
a[href*='/injectedEnvVars'] { display: none; }
Make a backup copy of the adapted style.css , as it can be overwritten with:
$ sudo service jenkins --full-restart
UPDATE
You can use custom CSS with the following:
Jenkins Management -> Configure System -> Theme -> CSS Theme URL: ...
source share