Use the Vault tab to quickly and easily define the global variables you need to share and access from your build and deployment pipelines.


Variables and secrets can be defined in groups, making it easier to logically arrange and access information relevant to a particular build, deployment, application, environment or connection.  Any defined variable or secret (not the stored value) can be accessed by anyone within your organization, making it easy to share access to commonly used information.


Define Global Variables

To define Global Variables, just click Add new secret and enter the following information.


Name  The name of the variable that references the value.

Value  The value of the variable. You are able to reference previously defined variables or secrets by inserting as the first character.  This will present a drop-down list of variables to select from.  To mask the value of the variable, click on the eye icon next to the variable. 

Description  Add a meaningful description that best describes the purpose and use of the defined variable.  When done, click away to save the variable.

 

Define Global Secrets

To define Global Secrets, just click Add new secret and enter the following information.


Name  The name of the variable that references the value.

Value  The value of the variable. You are able to reference previously defined variables or secrets by inserting as the first character.  This will present a drop-down list of variables to select from.  To mask the value of the variable, click on the eye icon next to the variable. 

Description  Add a meaningful description that best describes the purpose and use of the defined variable.  When done, click away to save the variable.


Using Variables in Build Configurations

To use variables or secrets in the build configuration, they must be referenced from the build configuration file.


Using Variables in Deployment Configurations

To use variables or secrets in deployment configurations, they must be referenced from the artifact configuration modal.



Using Pre-defined Session Variables

ShuttleOps provides session variables that can easily be referenced without the need to declare them as global variables.


These are:

User  The ShuttleOps user who is active in the session.

Organization  The Organization under which the current user is created.

Date  The current date.

Time  The current time (in EST).

DateTime  The current date and time.