Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

MettleCI enables you to check in changed DataStage Repository-based assets (e.g. Jobs, ParameterSets...) to a Git repository. Git check-in can be performed either via a combination of the DataStage Classic Designer client and MettleCI Workbench or directly in MettleCI Workbench. The former option - while involving two pieces of software - is the quickest as it avoids manually filling out Job information (e.g. which Project it is part of) each time you commit a change.

Step-by-step guide

1. Integrate MettleCI Workbench with

...

DataStage Client

Follow the instruction in Getting Started with MettleCI Workbench to Integrate MettleCI Workbench with DataStage Client

2. Code check in via DataStage Client

Once MettleCI Workbench and DataStage Client are integrated. 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

Image Removed  

From the main screen, select a project and click "Check-in a Job" button from the menuWith your job open on the DataStage canvas select the Tools → Custom → MettleCI - Commit Asset menu option.

Alternatively, you can go directly to Workbench and select your project (at the top of the screen) and selecting the Version Control men item from the sidebar, then click the [+] button on the top right hand corner to take you to the Git Commit page.

...

3. Enter Commit Message

Enter the commit comments, and click "Check in" when ready

title
Info

Optional

You can set the Unit Tests flag to on if you wish to check in the Unit Test assets associate with the referred DataStage Job

 

4. View Error Log 

When check-in completes, regardless of Pass or Fail, you can see the status from the VIEW LOGS at the bottom of the screen

Image Removed

...

5. 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

Image Removed

6. 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 the steps 3 to 6 to complete the process)

Image Removed

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@873786c5
sortmodified
showSpacefalse

...

reversetrue
typepage
cqllabel in ( "code" , "workbench" , "versioncontrol" , "repository" , "check-in" , "SCM" , "Git" ) and type = "page" and space = "MCIDOC"
labelsworkbench versioncontrol code repository check-in

Page Properties
hiddentrue

Related issues