Guest User

Untitled

a guest
Oct 27th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #!/usr/bin/env groovy
  2.  
  3. pipeline {
  4. agent any
  5. options {
  6. // Basic options
  7. timestamps()
  8. disableConcurrentBuilds()
  9. buildDiscarder(logRotator(numToKeepStr: '4'))
  10. }
  11. stages {
  12. stage('Flyway Runner') {
  13. steps {
  14. flywayrunner installationName: 'flywaytool-with-posgres-driver',
  15. flywayCommand: 'migrate',
  16. credentialsId: 'flyway-credentials-to-posgres-database',
  17. url: 'jdbc:postgresql://host:port/database',
  18. locations: '',
  19. commandLineArgs: ''
  20. }
  21. }
  22. }
  23. }
Add Comment
Please, Sign In to add comment