Skip to main content
Skip table of contents

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.