Version Control is a feature within MettleCI to allow you to check in your dataStage assets into Git repository.
Step-by-step guide
1. Assessing Version Control Feature
Access Version Control by clicking on "Version Control" from the sidebar of MettleCI
Followed by click on the + button on the top right hand corner to start code check-in
2. Version Control code check in page
You are required to enter the Assets (i.e. Datastage Job Name), and Commit Message.
Optional
You can set the Unit Tests flag to on if you wish to check in the Unit Test asset associate with Datastage Job
3. Adding Jobs for code check in
Version Control allows you to check in multiple jobs at the same time, so you must use the mouse to click on the job name for it to register
4. Enter Commit Message
Enter the commit comments, and click "Check in" when ready
5. View Error Log (if Job Fail)
If check in fail, you can review the root cause by expanding the VIEW LOGS button
6. View Log (if Job Success)
You can also view the log, if code check in completed successfully
7. Commit History
Return to Commit History by clicking on "Version Control" from the sidebar, you can now see the success/failure history of last code check in)
Related articles