diff --git a/Jenkinsfile b/Jenkinsfile index 0f2dad9b9..06fcd8b51 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,41 +1,45 @@ pipeline { agent { dockerfile { additionalBuildArgs '--tag arcanist' } } stages { stage('install phabricator'){ steps { sh ''' - cd .. 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 localhost ./bin/config set mysql.user root ./bin/config set mysql.pass root ./bin/storage upgrade --force ''' } } stage('arcanist') { steps { sh 'arc lint --everything --severity error' sh 'arc unit --everything --rev HEAD^' } } stage('celerity') { steps { sh './bin/celerity map' } } } post { always { archiveArtifacts artifacts: './resources/celerity/map.php' } } + options { + checkoutToSubdirectory('phabricator') + } + }