if [ ! -n "$CherryPick" ] ;then echo "No need CherryPick"else IFS=',' for word in $CherryPick; do echo ">>>>>>>>>>>CherryPick Start<<<<<<<<<<<<" #替换用户名为jenkins eval $(echo ${word} | sed 's/ssh:\/\/.*@gerrit/ssh:\/\/jenkins@gerrit/') echo ">>>>>>>>>>>CherryPick End<<<<<<<<" donefi./gradlew clean build collectSDK