diff --git a/Jenkinsfile b/Jenkinsfile index 203fee8..55b771c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ pipeline { stage('Copy Files on Server') { steps { sh 'ssh-keyscan ${SERVER_IP} > ~/.ssh/known_hosts' - sh 'rsync -avzhe --exclude 'Jenkinsfile' ssh * ${SERVER_USERNAME}@${SERVER_IP}:/var/www/public_html' + sh 'rsync -avzhe --exclude "Jenkinsfile" ssh * ${SERVER_USERNAME}@${SERVER_IP}:/var/www/public_html' } } }