Jenkins DevOps Setup Roadmap
Prerequisites
An existing Jenkins Controller installation
An existing Git repository, e.g. Bitbucket, Gitlab, etc.
An existing Work Item Management system, e.g. Jira, Service Now, etc.
Roadmap
Here is a simple roadmap to getting up and running with DataStage and Jenkins:
Create two Git repositories from the MettleCI templates:
One to host your Compliance Rules (we’ll customise these later), and
One to host your DataStage solution. This will includes default YAML pipelines for your DataStage CI/CD process which we'll customise later.
Install MettleCI Workbench and Unit Test Harness
OPTIONAL Configure MettleCI to use HTTPS
Install a Jenkins Agent on your MettleCI Host
Add your SSH Public Key to your Git repository to provide authentication when performing a Git commit.
Configure the authentication between MettleCI and your Work Item Management system ( e.g. , enabling MettleCI Workbench to perform dynamic lookup of Work Items on the Commit to Git page.)
Create a sample Work Item to associate with your first Git commit.
Register your first DataStage project in MettleCI Workbench
Enter the details for the DataStage solution repository in your Git server, e.g.
UNKNOWN ATTACHMENT
Enter the details for the Compliance repository in your Git server, e.g.
UNKNOWN ATTACHMENT
Run a Compliance check using the MettleCI Workbench
Perform a Git commit using the MettleCI Workbench
Enter some text to find your Work item in your work item management system
Commit your asset to your git repository
Create a Jenkins pipeline as a
Jenkinsfile(or customize the sample one supplied in your MettleCI software distribution) and commit it to the repository you are using for DataStage. This is conventionally placed this at the root of the repository directory structure.
Done!