Closed aidenkeating closed 7 years ago
Currently we are using tr to remove the JENKINS_PASSWORD= section from our oc & grep result. However tr's functionality is as follows.
echo "aabbccdd" | tr -d b # Returns aaccdd
So we may delete characters in a password if they contain any of the characters included in JENKINS_PASSWORD=.
This uses awk instead.
@laurafitzgerald @PhilipGough Would you mind taking a look?
Looks good
@PhilipGough Would you mind approving? It's a merge prerequisite
Currently we are using tr to remove the JENKINS_PASSWORD= section from our oc & grep result. However tr's functionality is as follows.
echo "aabbccdd" | tr -d b # Returns aaccdd
So we may delete characters in a password if they contain any of the characters included in JENKINS_PASSWORD=.
This uses awk instead.