...
# | Task | Command | Description |
---|---|---|---|
1 | Download artefact | Build tool specific | Download the previously-created |
2 | Create project |
| Verify that the CI project exists (otherwise, create it). |
3 | Configure properties |
| Replace variables in the This example operates on *.sh files in the 'datastage' base directory, the DSParams file, and all Parameter Sets using values from the file 'var.ci' (as determined by the environmentId parameter) // Substituted files are created in a new temporary build directory on your build agent host called 'config' |
4 | Upload config files |
| Upload the |
5 | Execute deploy script |
| Execute your |
6 | Deploy DataStage assets |
| Perform an incremental deployment of your DataStage assets to the CI project. |
7 | Cleanup |
| Execute the script |
8 | Check for results | Inline script | Detects and records (in a build pipeline variable) whether the Job compilation performed by the Deploy DataStage assets task produced an output jUnit JUnit |
9 | Publish compilation results | Build tool specific | If a jUnit JUnit |
...
# | Task | Command | Description |
---|---|---|---|
1 | Checkout Compliance repository | Build tool specific | Make the Compliance repository (separate to the DataStage asset repository, where this pipeline definition is stored) accessible to the build agent. |
2 | Run Compliance Warnings |
| Invokes MettleCI Compliance checks for changes jobs. Note that in this mode (including the |
3 | Check for results | Build tool specific | Detects and records (in a build pipeline variable) whether the Compliance check performed by the Run Compliance task produced an output jUnit JUnit |
4 | Publish compliance results | Build tool specific | If a jUnit JUnit |
...
# | Task | Command | Description |
---|---|---|---|
1 | Checkout Compliance repository | Build tool specific | Make the Compliance repository (separate to the DataStage asset repository, where this pipeline definition is stored) accessible to the build agent. |
2 | Run Compliance (CI FAIL) |
| Invoke MettleCI Compliance checks for changes jobs. Note that in this mode (omitting the |
3 | Check for results | Inline script | Detects and records (in a build pipeline variable) whether the Compliance check performed by the Run Compliance task produced an output jUnit JUnit |
4 | Publish compliance results | Build tool specific | If a jUnit JUnit |
...
# | Task | Command | Description |
---|---|---|---|
1 | Upload config files |
| Upload the file |
2 | Upload unit test specs |
| Upload your repository’s |
3 | Configure properties | | Replace variables in the |
4 | Create unit test report dir |
| Create directory to receive unit test outputs. |
5 | Run Unit Tests |
| Invoke the Unit Tests defined in your |
6 | Download unit test reports |
| Download any jUnit JUnit |
7 | Cleanup |
| Execute the script stored in the repository file |
8 | Check for results | Inline script | Detects and records (in a build pipeline variable) whether the Unit Test execution performed by the Run Unit Tests task produced an output jUnit JUnit |
9 | Publish compilation results | Build tool specific | If a jUnit JUnit |
...
# | Task | Command | Description |
---|---|---|---|
1 | Download artefact | Build tool specific | Download the previously-created |
2 | Create project |
| Verify that the target CI project exists (otherwise, create it) |
3 | Fetch template DSParams |
| Download the target DataStage environment’s template |
4 | Create artefacts directory | Inline script | Verify that the build directory |
5 | Fetch diff | Build tool specific | Fetch the previously-generated |
6 | Generate merged DSParams file |
| Replace variables in the |
7 | Configure properties |
| Replace variables in the |
8 | Upload config files |
| Upload the |
9 | Execute deploy script |
| Execute the script |
10 | Deploy DataStage assets |
| Perform an incremental deployment of your DataStage assets to the target CI project. |
11 | Cleanup |
| Execute the |
12 | Check for results | Inline script | Detects and records (in a build pipeline variable) whether the Job compilation performed by the Deploy DataStage assets task produced an output jUnit JUnit |
13 | Publish compilation results | Build tool specific | If a jUnit JUnit |
...