Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

Description

Schedules the promotion of a Bundle.

Syntax

uagcmd ops-promote-bundle global parameters {bundle-id=ID | bundle-name=name} [promotion-target-id=ID | promotion-target-name=name] {[override-user=user] override-password=password} schedule=option {date=date [time=time]} [create-snapshot=option] [notification-option=notification] [allow-unv-tmplt-changes=option]

Parameters

Html bobswift
<ul>
<li> <code>bundle-id=</code> <br>Required if <code>bundle_name=</code> is not specified; 

sys_id

Html bobswift
 of the bundle to be promoted.
<li> <code>bundle-name=</code> <br>Required if <code>bundle_id=</code> is not specified; Name of the bundle to be promoted.
<li> <code>promotion-target-id=</code> <br> 

sys_id

Html bobswift
 of the promotion target; Optional if specified on the bundle and if <code>promotion-target-name=</code> is not specified.
<li> <code>promotion-target-name=</code> <br> Name of the promotion target; Optional if specified on the bundle and if <code>promotion-target-id=</code> is not specified.
<li> <code>override-user=</code> <br> Optional; User ID to override the user ID provided from the Promotion Target record.
<li> <code>override-password=</code> <br> Required if <code>override-user=</code> is specified; Password of the User ID being used to override the user ID provided from the Promotion Target record.
<li> <code>schedule=</code> <br> Required; Specification (not case sensitive) for whether to schedule the promotion (<b>Yes/Y/true</b>) or promote the Bundle immediately (<b>No/N/false</b>).
<li> <code>date=</code> <br> Required if <code>schedule=</code><b>Yes/Y/true</b>; Promotion schedule date in format yyyy-MM-dd.
<li> <code>time=</code> <br> Optional if <code>schedule=</code><b>Yes/Y/true</b>; Promotion schedule time in format HH-mm (default is 00:00).
<li> <code>create-snapshot=</code> <br> Optional if <code>schedule=</code><b>Yes/Y/true</b>; Specification (<b>Yes/Y/true</b> or <b>No/N/false</b>; not case sensitive) for whether a Bundle snapshot should be taken and stored with the scheduled promotion. Default is <b>No/N/false</b>.
<li> <code>notification-option=</code> <br> Optional; Operation (if any) that will cause a 

System Notification

Html bobswift
 to be sent when the promotion is done (not case sensitive): <b>operation_failure</b> (default), <b>operation_success/failure</b>, or <b>operation_success</b>. 
<li> <code>allow-unv-tmplt-changes=</code> <br> Optional; Specification (not case sensitive) for whether to allow (<b>Yes/Y/true</b>) or not allow (<b>No/N/false</b>) the Bundle to contain new or changed Universal Templates.
</ul>

Example

Panel
html-bobswift
<pre>uagcmd ops-promote-bundle 

-c config.cfg

Html bobswift
 bundle-name=Bundle A schedule=Yes date=2015-06-12 create-snapshot=Yes </pre>