Skip to content

Instantly share code, notes, and snippets.

@mikebell
Created June 20, 2017 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebell/e3d246f411714be0fd2594b17cd9ccc9 to your computer and use it in GitHub Desktop.
Save mikebell/e3d246f411714be0fd2594b17cd9ccc9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env groovy
pipeline {
agent any
stages {
stage('Composer install') {
steps {
sh 'composer install'
archiveArtifacts artifacts: '**', fingerprint: true
}
}
stage('Deploy') {
steps {
sh './vendor/bin/dep deploy production'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment