Version Control is a feature within MettleCI to allow you to check in your dataStage assets into Git repository.
Step-by-step guide
1.
...
From the main screen, select a project and click "Check-in a Job" button from the menu
2. Accessing Version Control Form
Followed by click on the + button on the top right hand corner to start code check-in
Info |
---|
You can also accessing this screen (Version Control page) by clicking on "Version Control" from the sidebar of MettleCI |
3. Version Control code check in page
...
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
Info | ||
---|---|---|
| ||
You can set the Unit Tests flag to on if you wish to check in the Unit Test asset associate with Datastage Job |
...
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
5. Enter Commit Message
Enter the commit comments, and click "Check in" when ready
6. View Error
...
Log
When checking complete, regardless of Pass or Fail, you can review the root cause by expanding see the status from the VIEW LOGS buttonat the bottom of the screen
...
8. Commit History
You can also view the log, if code check in completed successfully
8. Commit History
Return to 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)
9. 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 8 to complete the process)
Info |
---|
Related articles
...