Workbench Set-Branch Command
Purpose
This command sets Asset Repository branch of a previously registered project in Workbench.


Syntax

See the examples below.
Examples
BASH
$> mettleci workbench set-branch \
-url https://my-engine.my-org.com:8080 \
-username workbench-user \
-password workbench-password \
-project MyProject \
-branch develop
MettleCI Command Line (build 128)
(C) 2018-2022 Data Migrators Pty Ltd
workbench set-branch (v1.0-2)
Reading project list from 'https://my-engine.my-org.com:8080'
Found project 'MyProject' with id 2, updating branch to 'develop'
Done.
See Also
- Build Pipeline SFTP operations fail due to DataStage Engine name
- MettleCI command 'workbench set-branch' command produces a credentials error
- MettleCI CLI produces 'Failed to connect to host' error
- SSH Configuration
- Workbench operations return ‘Could not find specified assets’
- MettleCI CLI produces error 'Incorrectly typed data found for annotation element'