diff --git a/Jenkinsfile b/Jenkinsfile
index 157d5abc3..4401e5c5c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,66 +1,65 @@
 pipeline {
 
     options {
         checkoutToSubdirectory('phabricator')
     }
 
     agent {
         dockerfile {
             additionalBuildArgs  '--tag arcanist'
             dir 'phabricator'
         }
     }
 
     environment {
         HOME = "$WORKSPACE"
         GIT_COMMITTER_NAME = 'jenkins'
         GIT_COMMITTER_EMAIL = 'jenkins@c4science.ch'
         DEBIAN_FRONTEND = 'noninteractive'
     }
 
     stages {
         stage('start services') {
             steps {
                 sh 'sudo mysqld &'
                 sh 'sudo /etc/init.d/apache2 start'
             }
         }
         stage('install phabricator'){
             steps {
                 sh '''
                     git clone -b stable https://c4science.ch/source/libphutil.git
                     git clone -b stable https://secure.phabricator.com/diffusion/ARC/arcanist.git
                 '''
                 sh '''
                     cd phabricator
                     ./bin/config set mysql.host 127.0.0.1
                     ./bin/config set mysql.user root
                     ./bin/config set mysql.pass root
                     ./bin/storage upgrade --force
                 '''
             }
         }
         stage('arcanist') {
             steps {
-                cd phabricator
+                sh 'cd phabricator'
                 sh 'arc lint --everything --severity error'
                 sh 'arc unit --everything --rev HEAD^'
             }
         }
         stage('celerity') {
-            steps { sh '''
-                    cd phabricator
-                    ./bin/celerity map
-                '''
+            steps {
+                sh 'cd phabricator'
+                sh './bin/celerity map'
             }
         }
     }
 
     post {
         always {
             archiveArtifacts artifacts: './resources/celerity/map.php'
             cleanWs()
         }
     }
 
 }