Modifying a baseline

About this task

This subcommand modifies the name or build of the specified baselines, or updates the projects and products to use versions that match the current default baseline version template. Build managers and users in the ccm_admin role can modify a baseline.

ccm baseline -modify [-n|-name name] [-b|-build build]
            [-v|-versions [-vt|-version_template version_template]
            [-skip_nonvisible_projects]] baseline_spec...
baseline_spec...
Specifies the baseline to be modified. For more information, see Baseline specification.
-b|-build build
Specifies to set the build number or ID for the specified baselines to the build value. This can be any single line text value, such as Turn3. Typically, the build value includes some form of build number.

Users in the ccm_admin role can change the build for a baseline in any state. Build managers can change the build for a baseline in all states except the released state.

-name name
Specifies to set the name of the specified baseline to name. Users in the ccm_admin role can modify the name of a baseline in any state. Build managers can modify the name of a baseline in all states except the released state.
-skip_nonvisible_projects
Specifies that projects without a visible work area will not be changed.

For each work area that cannot be updated because it is not visible, a warning is displayed; the operation continues and is successful if there are no other problems and -skip_nonvisible_projects was not used. If -skip_nonvisible_projects was used, an error is returned, but the operation continues and does not clean up. All errors are reported at the end. The message indicates whether the failure was because the work area was not visible or because it could not be modified

-v|-versions
Specifies to modify the version of the projects and products in the specified baselines.

If you specify a -version_template, that version template is used for the new versions. Otherwise, the default baseline version template is used. For more information, see baseline_template.

-vt|-version_template version_template
Specifies the version template to be used for any project or product in the modified baseline. For more information, see sc_t_h_show_baseline_info.html#wp959846__wp962241.

Feedback