fix deployToSwarm
parent
c8117d0237
commit
b2a0359a43
|
@ -34,7 +34,7 @@ def askForApproval(String channel, String serviceName) {
|
|||
|
||||
def runDeployment(Map config) {
|
||||
def stackFile = config.file != null ? config.file : '../docker-compose.yml'
|
||||
def environmentVars = config.env != null ? config.env : []
|
||||
def environmentVars = config.env != null ? config.env : [ service_name: config.name ]
|
||||
withCredentials([string(credentialsId: 'ansible_vault', variable: 'vaultPass')]) {
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
|
|
Loading…
Reference in New Issue