[SPARK-34327][BUILD] Strip passwords from inlining into build information while releasing
[SPARK-34327][BUILD] Strip passwords from inlining into build information while releasing

### What changes were proposed in this pull request?

Strip passwords from getting inlined into build information, inadvertently.

` https://user:passdomain/foo -> https://domain/foo`

### Why are the changes needed?
This can be a serious security issue, esp. during a release.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Tested by executing the following command on both Mac OSX and Ubuntu.

```
echo url=$(git config --get remote.origin.url |  sed 's|https://\(.*\)\(.*\)|https://\2|')
```

Closes #31436 from ScrapCodes/strip_pass.

Authored-by: Prashant Sharma <a724b57b130beae6c3ba0cf4d3f3d71d2368a0a6@in.ibm.com>
Signed-off-by: HyukjinKwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

rednaxelafx/apache-spark,zzcclp/spark,dongjoon-hyun/spark,mahak/spark,milliman/spark,apache/spark,jiangxb1987/spark,gengliangwang/spark,dongjoon-hyun/spark,HyukjinKwon/spark,nchammas/spark,wangmiao1981/spark,nchammas/spark,zzcclp/spark,srowen/spark,JoshRosen/spark,maropu/spark,hvanhovell/spark,JoshRosen/spark,WeichenXu123/spark,BryanCutler/spark,cloud-fan/spark,chuckchen/spark,dongjoon-hyun/spark,nchammas/spark,zero323/spark,mahak/spark,srowen/spark,ueshin/apache-spark,dongjoon-hyun/spark,witgo/spark,holdenk/spark,wangyum/spark,ueshin/apache-spark,JoshRosen/spark,ueshin/apache-spark,chuckchen/spark,witgo/spark,rednaxelafx/apache-spark,xuanyuanking/spark,maropu/spark,wangyum/spark,hvanhovell/spark,shaneknapp/spark,zero323/spark,WeichenXu123/spark,taroplus/spark,gengliangwang/spark,milliman/spark,ueshin/apache-spark,rednaxelafx/apache-spark,WeichenXu123/spark,mahak/spark,ueshin/apache-spark,vinodkc/spark,cloud-fan/spark,taroplus/spark,holdenk/spark,wangyum/spark,vinodkc/spark,zzcclp/spark,srowen/spark,xuanyuanking/spark,apache/spark,maropu/spark,taroplus/spark,WeichenXu123/spark,HyukjinKwon/spark,apache/spark,wangyum/spark,jiangxb1987/spark,holdenk/spark,BryanCutler/spark,holdenk/spark,zzcclp/spark,BryanCutler/spark,hvanhovell/spark,holdenk/spark,hvanhovell/spark,maropu/spark,xuanyuanking/spark,xuanyuanking/spark,xuanyuanking/spark,gengliangwang/spark,witgo/spark,WeichenXu123/spark,BryanCutler/spark,BryanCutler/spark,mahak/spark,milliman/spark,shaneknapp/spark,wangmiao1981/spark,WeichenXu123/spark,zero323/spark,nchammas/spark,xuanyuanking/spark,mahak/spark,apache/spark,chuckchen/spark,HyukjinKwon/spark,witgo/spark,BryanCutler/spark,taroplus/spark,gengliangwang/spark,wangmiao1981/spark,witgo/spark,vinodkc/spark,zzcclp/spark,holdenk/spark,apache/spark,maropu/spark,shaneknapp/spark,apache/spark,mahak/spark,cloud-fan/spark,rednaxelafx/apache-spark,nchammas/spark,gengliangwang/spark,cloud-fan/spark,hvanhovell/spark,rednaxelafx/apache-spark,chuckchen/spark,zero323/spark,jiangxb1987/spark,dongjoon-hyun/spark,zzcclp/spark,maropu/spark,milliman/spark,vinodkc/spark,wangmiao1981/spark,chuckchen/spark,shaneknapp/spark,wangyum/spark,vinodkc/spark,zzcclp/spark,witgo/spark,taroplus/spark,shaneknapp/spark,nchammas/spark,JoshRosen/spark,shaneknapp/spark,dongjoon-hyun/spark,zero323/spark,WeichenXu123/spark,JoshRosen/spark,srowen/spark,HyukjinKwon/spark,HyukjinKwon/spark,wangmiao1981/spark,zero323/spark,rednaxelafx/apache-spark,wangyum/spark,apache/spark,ueshin/apache-spark,cloud-fan/spark,srowen/spark,witgo/spark,cloud-fan/spark,mahak/spark,srowen/spark,chuckchen/spark,hvanhovell/spark,wangmiao1981/spark,zero323/spark,maropu/spark,xuanyuanking/spark,ueshin/apache-spark,vinodkc/spark,milliman/spark,jiangxb1987/spark,gengliangwang/spark,taroplus/spark,jiangxb1987/spark,holdenk/spark,jiangxb1987/spark,wangyum/spark,dongjoon-hyun/spark,JoshRosen/spark,wangmiao1981/spark,BryanCutler/spark,shaneknapp/spark,milliman/spark,HyukjinKwon/spark,nchammas/spark,gengliangwang/spark,hvanhovell/spark,HyukjinKwon/spark,taroplus/spark,milliman/spark,JoshRosen/spark,rednaxelafx/apache-spark,srowen/spark,vinodkc/spark,cloud-fan/spark,chuckchen/spark,jiangxb1987/spark