@@ -737,14 +737,14 @@ class BitbucketScm extends Scm {
737737 command . push ( `export SD_CONFIG_DIR=${ externalConfigDir } ` ) ;
738738
739739 // Git clone
740- command . push ( `echo Cloning external config repo ${ parentCheckoutUrl } ` ) ;
740+ command . push ( `echo ' Cloning external config repo ${ parentCheckoutUrl } ' ` ) ;
741741 command . push ( 'if [ ! -z $GIT_SHALLOW_CLONE ] && [ $GIT_SHALLOW_CLONE = false ]; '
742742 + `then ${ gitWrapper } `
743- + `"git clone --recursive --quiet --progress --branch ${ parentBranch } `
743+ + `"git clone --recursive --quiet --progress --branch ' ${ parentBranch } ' `
744744 + '$CONFIG_URL $SD_CONFIG_DIR"; '
745745 + `else ${ gitWrapper } `
746746 + '"git clone --depth=50 --no-single-branch --recursive --quiet --progress '
747- + `--branch ${ parentBranch } $CONFIG_URL $SD_CONFIG_DIR"; fi` ) ;
747+ + `--branch ' ${ parentBranch } ' $CONFIG_URL $SD_CONFIG_DIR"; fi` ) ;
748748
749749 // Reset to SHA
750750 command . push ( `${ gitWrapper } "git -C $SD_CONFIG_DIR reset --hard `
@@ -753,7 +753,7 @@ class BitbucketScm extends Scm {
753753 }
754754
755755 // Git clone
756- command . push ( `echo Cloning ${ checkoutUrl } , on branch ${ branch } ` ) ;
756+ command . push ( `echo ' Cloning ${ checkoutUrl } , on branch ${ branch } ' ` ) ;
757757 command . push ( 'if [ ! -z $SCM_CLONE_TYPE ] && [ $SCM_CLONE_TYPE = ssh ]; ' +
758758 `then export SCM_URL=${ sshCheckoutUrl } ; ` +
759759 'elif [ ! -z $SCM_USERNAME ] && [ ! -z $SCM_ACCESS_TOKEN ]; ' +
@@ -762,14 +762,14 @@ class BitbucketScm extends Scm {
762762 ) ;
763763 command . push ( 'if [ ! -z $GIT_SHALLOW_CLONE ] && [ $GIT_SHALLOW_CLONE = false ]; '
764764 + `then ${ gitWrapper } `
765- + `"git clone --recursive --quiet --progress --branch ${ branch } `
765+ + `"git clone --recursive --quiet --progress --branch ' ${ branch } ' `
766766 + '$SCM_URL $SD_SOURCE_DIR"; '
767767 + `else ${ gitWrapper } `
768768 + '"git clone --depth=50 --no-single-branch --recursive --quiet --progress '
769- + `--branch ${ branch } $SCM_URL $SD_SOURCE_DIR"; fi` ) ;
769+ + `--branch ' ${ branch } ' $SCM_URL $SD_SOURCE_DIR"; fi` ) ;
770770 // Reset to Sha
771- command . push ( `echo Reset to SHA ${ checkoutRef } ` ) ;
772- command . push ( `${ gitWrapper } "git reset --hard ${ checkoutRef } "` ) ;
771+ command . push ( `echo ' Reset to SHA ${ checkoutRef } ' ` ) ;
772+ command . push ( `${ gitWrapper } "git reset --hard ' ${ checkoutRef } ' "` ) ;
773773
774774 // Set config
775775 command . push ( 'echo Setting user name and user email' ) ;
@@ -779,7 +779,7 @@ class BitbucketScm extends Scm {
779779 if ( config . prRef ) {
780780 const prRef = config . prRef . replace ( 'merge' , 'head:pr' ) ;
781781
782- command . push ( `echo Fetching PR and merging with ${ branch } ` ) ;
782+ command . push ( `echo ' Fetching PR and merging with ${ branch } ' ` ) ;
783783 command . push ( `${ gitWrapper } "git fetch origin ${ prRef } "` ) ;
784784 command . push ( `${ gitWrapper } "git merge --no-edit ${ config . sha } "` ) ;
785785 // Init & Update submodule
0 commit comments