Skip to content

Commit

Permalink
Added Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Dec 13, 2018
1 parent 63f0026 commit 98aae9e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
pipeline {
agent {
node {
label 'php'
}

}
stages {
stage('Get files') {
parallel {
stage('Get files') {
steps {
git(url: 'https://github.com/selamiphp/console.git', branch: 'master')
}
}
stage('run redis') {
steps {
sh 'composer install'
}
}
stage('test') {
steps {
sh 'composer run unit-tests'
}
}
}
}
}
}

0 comments on commit 98aae9e

Please sign in to comment.