Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env groovy
- pipeline {
- agent any
- options {
- // Basic options
- timestamps()
- disableConcurrentBuilds()
- buildDiscarder(logRotator(numToKeepStr: '4'))
- }
- stages {
- stage('Flyway Runner') {
- steps {
- flywayrunner installationName: 'flywaytool-with-posgres-driver',
- flywayCommand: 'migrate',
- credentialsId: 'flyway-credentials-to-posgres-database',
- url: 'jdbc:postgresql://host:port/database',
- locations: '',
- commandLineArgs: ''
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment