You can use context groups to run Jobs according to different predetermined
parameters. By taking the example of deployment environments, you can configure
passwords or usernames following a Job execution on your production or staging environment.
Procedure
-
In the Repository, expand Contexts, right-click a context group and click
Edit context group.
-
Click Next.
You are brought to Step 2 in the wizard.
-
Click
Configure Contexts...
-
Click
New...
-
Enter a context name.
Example
prod
-
Click
OK.
You are brought back to the Configure Contexts
window.
-
Define your context parameters.
Example
Link your context to a database.
- Optional:
Select the Default context environment.
-
Click Finish.
-
In the Run view,
select a Context.
-
Click
Run.
Results
You have configured a context group for your different deployment
environments.