diff --git a/Jenkinsfile b/Jenkinsfile index 15bd610..1459e3f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { steps { withCredentials([usernamePassword(credentialsId: 'QuizServerCreds', usernameVariable: 'USERNAME', passwordVariable: 'SERVER_IP')]) { sh 'ssh-keyscan ${SERVER_IP} > ~/.ssh/known_hosts' - sh 'rsync -avzhe --exclude "Jenkinsfile" ssh * ${USERNAME}@${SERVER_IP}:/var/www/public_html' + sh 'rsync -avzhe --exclude={'Jenkinsfile'} ssh * ${USERNAME}@${SERVER_IP}:/var/www/public_html' } } }