Using Serena Release Automation → Applications → Application Gates → Structure of the default.xml File
Inventory and versions statuses are defined in the default.xml file. You can modify the supplied values for both types as well as add your own values. If you modify the file, restart the server in order to see your changes.
Here an example of default.xml:
<?xml version="1.0"?> <status-scheme name="Default"> <inventory-statuses> <status name="Active" color="#8DD889" unique="true" /> <status name="Staged" color="#80D8FF" /> </inventory-statuses> <version-statuses> <status name="Latest" color="#F6F4D8" unique="true" /> <status name="Passed Tests" componentRoleName="StatusAdder" color="#FFDDAA" /> <status name="Archived" color="#AAAAAA" /> </version-statuses> </status-scheme>
Each <status/> element has a required name attribute and several optional ones, defined in the following table:
Attribute | Description |
---|---|
name | Identifies the status; appears in user-interface. Used to create gates, and available in process steps. |
color | Hexadecimal color definition; determines the color displayed in the user interface. |
unique | Boolean value (true|false). Only one component version with this status/attribute will be deployed to the environment. |
componentRoleName | Security role required by user to add this status to the component version. |
All attributes must be enclosed in double-quotes.
Copyright © 2012–2013 Serena Software, Inc. All rights reserved.