Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Current »

Purpose

This command deploys a specified directory containing one or more DataStage ISX files to a specified target DataStage environment (project). 

  • the datastage deploy command performs incremental deployment.

  • the -assets parameter specifies the deployment source directory containing ISX files.

  • the -project value is the name of the DataStage target project.

  • the -project-cache parameter specifies a shared directory containing state information for this DataStage target project. These are the DataStage asset fingerprints which are used to identify changes in your DataStage code. See our more detailed explanation.

  • the -threads parameter specifies how many concurrent compilation operations will be performed.

  • DataStage compilation results are converted to test results in JUnit format.

See Repeatable DataStage Project Deployments for more details on how the -project-cache parameter is used to implement incremental deployment.

Syntax

Example

c:\> mettleci datastage deploy
     -domain demo115-svcs.dm-demo-datastage.datamigrators.io:59445
     -server demo115-engn.dm-demo-datastage.datamigrators.io
     -project wwi_jenkins_ds_115_ci
     -username isadmin
     -password ****
     -assets datastage
     -parameter-sets "config\Parameter Sets"
     -threads 1
     -project-cache "C:\MettleCI\cache\demo115-engn.dm-demo-datastage.datamigrators.io\wwi_jenkins_ds_115_ci" 

MettleCI Command Line (build 128)
(C) 2018-2022 Data Migrators Pty Ltd
Analyzing TEST1-ENGN.DATAMIGRATORS.IO/baz_test2
Attempting to identify changes with 4 working threads.
Inspecting DataStage assets for changes...
* Check TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/Transform/TR_CITY.pjb - CHANGED
Change identification complete, 1 asset changes detected in project
Deleting assets...
* Delete 'TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/Transform/TR_CITY.pjb' - COMPLETED
Deletion complete
Optimising assets for import
* Update 'Jobs/ParameterSets/pGlobal.pst' - COMPLETED
* Update 'Jobs/ParameterSets/pDMSqlServer_DW.pst' - COMPLETED
s* Update 'Jobs/ParameterSets/pDMSqlServer_OLTP.pst' - COMPLETED
Attempting to import with 1 working threads.
Importing DataStage assets...
* Import 'TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/ParameterSets/pDMSqlServer_OLTP.pst' - COMPLETED
* Import 'TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/ParameterSets/pDMSqlServer_DW.pst' - COMPLETED
* Import 'TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/ParameterSets/pGlobal.pst' - COMPLETED
* Import 'TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/Transform/TR_CITY.pjb' - COMPLETED
Import complete
Compiling DataStage jobs...
* Compile 'TEST1-ENGN.DATAMIGRATORS.IO/baz_test2/Jobs/Transform/TR_CITY.pjb' - COMPLETED
Compilation complete
sCreating JUnit test suite
JUnit test suite (mettleci_compilation.xml) created successfully
Attempting to identify last change with 4 working threads.
Inspecting DataStage assets for last change...
Last change to project occurred at 2023-12-17 22:07:00 GMT     

  • No labels