Skip to content

Commit

Permalink
Test disabling echo
Browse files Browse the repository at this point in the history
  • Loading branch information
kmanning committed Apr 13, 2021
1 parent 0b8c3c2 commit 378f336
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/FlywayMigrationPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ class FlywayMigrationPlugin implements TerraformEnvironmentStagePlugin, Resettab
def environmentVariables = buildEnvironmentVariableList(env)
withEnv(environmentVariables) {
def command = new FlywayCommand('info')
sh command.toString()
sh """
set +x
${command.toString()}
set -x
"""
}
}
}
Expand All @@ -38,7 +42,6 @@ class FlywayMigrationPlugin implements TerraformEnvironmentStagePlugin, Resettab
public Collection buildEnvironmentVariableList(env) {
def list = []
if (passwordVariable) {
println "env: ${env.toString()}, passwordVariable: ${passwordVariable}"
list << "FLYWAY_PASSWORD=${env[passwordVariable]}"
}

Expand Down

0 comments on commit 378f336

Please sign in to comment.