From a9b90174db7674b1b03fe0ea32ea654963c4f9d9 Mon Sep 17 00:00:00 2001 From: Romulo De Lazzari Date: Tue, 12 Jun 2018 16:05:15 +0100 Subject: [PATCH] add Jenkinsfile --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7d80e5a --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent { + docker { + image 'composer' + args '-v /var/composer/cache:/var/composer/cache' + } + } + stages { + stage('Build') { + steps { + sh 'composer install' + } + } + stage('run tests') { + steps { + sh 'composer test' + } + } + } +}