Skip to content

Commit

Permalink
Jenkinsfile updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Dec 13, 2018
1 parent 39f3e06 commit 065924d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
pipeline {
agent {
docker {
image 'phpdockerio/php72-cli'
image 'phpdockerio/php72-cli',
}

}
stages {
stage('Get files') {
parallel {
stage('Get files') {
stage('Clone repository') {
steps {
git(url: 'https://github.com/selamiphp/console.git', branch: 'master')
}
}
stage('get composer') {
steps {
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'mv composer.phar /usr/local/bin/composer'
}
}
stage('run composer') {
steps {
sh 'composer install'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ $cli->run();
```bash
./bin/console command:greeting Kedibey
```
Outputs: Hello Dear Kedibey
Prints: Hello Dear Kedibey

0 comments on commit 065924d

Please sign in to comment.