Configure a Job to Cancel the Configuration Migration
If for some reason your import configuration job fails, configure a job to cancel the migration process.
This job requires the unique configuration set ID generated by the export configuration job. If you’re not planning to run this job in a pipeline with the export configuration job, you’ll need to provide the configuration set ID manually.
- In the left navigator, click Builds
. - In the Jobs tab, click the export configuration job.
- Click Configure.
- Click the Steps tab and note the Configuration Set ID field’s parameter name.
- Click Cancel.
- Return to the Jobs tab and click + Create Job.
- In the New Job dialog box, in Name, enter a unique name.
- In Description, enter the job’s description.
- In Template, select the System Default OL7 for Visual Builder template.
- Click Create.
- (Optional) Click Configure
. - If you plan to run this job manually and not in a pipeline with the export configuration job, add a build parameter to accept the configuration set ID at runtime. Ignore this step if this job runs in a pipeline with the export configuration job.
- Click the Parameters tab.
- From Add Parameter, select String Parameter.
- In Name, enter the Configuration Set ID parameter name you copied in Step 4.
If you didn’t change the default parameter name, enter
CONFIGURATION_SET_ID. - (Optional) In Description, enter the parameter’s description. For example:
Enter the configuration ID copied from the CSM Export job’s build log.
- Click the Steps tab.
- From Add Step, select Configuration Set Migration, and then select Cancel Migration.
- In Target Instance, select the environment that points to the Oracle Cloud Application’s target instance.
- In Configuration Set ID, enter the Configuration Set ID parameter name you noted in Step 4 in the
$<PARAMETER_NAME>or${<PARAMETER_NAME>}format. By default, it’s set to${CONFIGURATION_SET_ID}. When a build of this job runs, the job gets the unique configuration set ID generated by the export configuration job. If no ID is found, it fails. - In Username and Password, enter the credentials of an IDCS user’s credentials who is also an Oracle Cloud Applications user.
- Click Save.