Skip to content

Commit 084d87c

Browse files
author
Pascal Morin
authored
Use the new --build-id parameter from ce-deploy (#10)
1 parent 37f7d2e commit 084d87c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export default class DeployCmd extends AnsibleCmd {
2323

2424
protected getCommandParameters(ansiblePath: string): string {
2525
const workspace = this.ansibleProjectPlaybooksPath
26-
const repo = this.activeProjectInfo.project_name
26+
const buildId = this.activeProjectInfo.project_name
2727
const ownBranch = '1.x'
2828
const configBranch = '1.x'
29-
const cmd = '--own-branch ' + ownBranch + ' --config-branch ' + configBranch + ' --workspace ' + workspace + ' --repo ' + repo + ' --branch ce-dev --playbook ' + ansiblePath + ' --build-number 1 --previous-stable-build-number 1 --ansible-extra-vars \'{"is_local":"true"}\''
29+
const cmd = '--own-branch ' + ownBranch + ' --config-branch ' + configBranch + ' --workspace ' + workspace + ' --build-id ' + buildId + ' --playbook ' + ansiblePath + ' --build-number 1 --previous-stable-build-number 1 --ansible-extra-vars \'{"is_local":"true"}\''
3030
return cmd
3131
}
3232
}

0 commit comments

Comments
 (0)