Version Control is a feature within MettleCI to allow you to check in your dataStage assets into Git repository.
Step-by-step guide
1. Download MCI_Setup.exe to Integrate MettleCI Workbench with Datastage Client
Click on the purple button "Integrate with DataStage Client" to download MCI_Setup.exe
2. Run MCI_Setup.exe
Run MCI_Setup.exe once download completed. You may be prompt by Windows Defender to proceed or not.
Click on "Run anyway"
3. MCI_Setup.exe installation Steps
Follow the installation wizard to perform the installation. During the installation, you will be prompted to confirm the DataStage Client path, click Yes to confirm
4. Code check in via DataStage Client
Once installation completed successfully. You can start DataStage Client, and open a job.
When the job is opened. Start code checking from the menu
Tools → Custom → Check-In Asset
From the main screen, select a project and click "Check-in a Job" button from the menu
5. Enter Commit Message
Enter the commit comments, and click "Check in" when ready
Optional
You can set the Unit Tests flag to on if you wish to check in the Unit Test asset associate with Datastage Job
6. View Error Log
When checking complete, regardless of Pass or Fail, you can see the status from the VIEW LOGS at the bottom of the screen
7. Commit History
You can also review the Commit History by clicking on "Version Control" from the sidebar, you can now see the success/failure history of last code check in)
8. Alternate method of Code Checkin without DataStage Client
If you do not have a DataStage client installed on your machine. You can still perform code checkin via MettleCI Workbench frontend, 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 (then follow step 5 to 7 to complete the process)
Related articles