File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ validate_url() {
4848validate_git_provider () {
4949 local git_provider_val=$( echo " $1 " | tr ' [:lower:]' ' [:upper:]' )
5050
51- if [ " $git_provider_val " == " GITLAB" ] || [ " $git_provider_val " == " GITHUB" ] || [ " $git_provider_val " == " BITBUCKET" ] || [ " $git_provider_val " == " BITBUCKET-ENTERPRISE " ] ; then
51+ if [ " $git_provider_val " == " GITLAB" ] || [ " $git_provider_val " == " GITHUB" ] || [ " $git_provider_val " == " BITBUCKET" ]; then
5252 echo $git_provider_val
5353 else
54- echo " Invalid git provider value. Please enter either GITLAB or GITHUB or BITBUCKET or BITBUCKET-ENTERPRISE ."
54+ echo " Invalid git provider value. Please enter either GITLAB or GITHUB or BITBUCKET."
5555 exit 1
5656 fi
5757}
@@ -725,7 +725,7 @@ param_git_provider="git.provider"
725725docker_enc_params=
726726if [ " $mode " == " server" ]; then
727727 if [ -n " ${props[$param_bito_access_key]} " ] && [ -n " ${props[$param_git_access_token]} " ]; then
728- if [[ " ${props[$param_git_provider]} " == " BITBUCKET" || " ${props[$param_git_provider]} " == " BITBUCKET-ENTERPRISE " ]]; then
728+ if [[ " ${props[$param_git_provider]} " == " BITBUCKET" ]]; then
729729 git_secret=" ${props[$param_git_access_token]} "
730730 else
731731 git_secret=" ${props[$param_bito_access_key]} @#~^${props[$param_git_access_token]} "
You can’t perform that action at this time.
0 commit comments