E
dit
A
ttach
P
rintable
r4 - 2017-08-07 - 17:20:43 - Main.ktessier
You are here:
TWiki
>
Deployment Web
>
DeploymentInstallingUpgradingAndMigrating
>
IBMQuickDeployer
>
IBMQuickDeployerSetupAndRun
>
IBMQuickDeployerUpdatingComponentArtifacts
<div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! IBM Quick Deployer Updating Component Artifacts <img src="https://jazz.net/wiki/pub/Deployment/WebPreferences/updated.png" alt="updated.png" width="50" height="50" align="right"> %DKGRAY% %INCLUDE{"IBMQuickDeployerInsertAuthorBuildBasis"}% %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> <!-- THE START--> You might want to change the behavior of the IBM Quick Deployer by making changes to scripts in IBM !UrbanCode Deploy components. This topic explains how to use the IBM !UrbanCode Deploy command-line interface to do this task. The task consists of the following steps: <br/><br/> * Download the script artifacts of an existing component version. * Modify the script artifacts. * Create a new component version * Publish the artifacts to the new component version <br/> ---++ Prerequisites * The IBM !UrbanCode Deploy command-line interface must be installed. For details, see [[https://www.ibm.com/support/knowledgecenter/SS4GSP_6.2.1/com.ibm.udeploy.reference.doc/topics/cli_install.html][Installing the command-line client]]. * The IBM Quick Deployer must be installed into an !UrbanCode Deploy server. * You must have an !UrbanCode Deploy authentication token that has permissions that let you download and create component versions. ---++ Download !UrbanCode Deploy component version artifacts 1. Identify the component name and version that you want to download. 1. Run the udclient *downloadVersionArtifacts* command with the following arguments: * *authtoken*: !UrbanCode Deploy authentication token * *weburl*: URL of !UrbanCode Deploy server * *component*: Name of the component to download * *version*: Version of the component to download <br/><br/> For example: <br/><br/> <verbatim> C:\udclient>udclient -authtoken 4196ab18-6bd6-76c5-c294-9648793gb418 -weburl https://ucd-09.host.com:8443 downloadVersionArtifacts -component Rational_QD_SystemPre-Requisite_604 -version 20170711-1432 Downloading... [#######] Completed. Downloaded to C:\udclient\Rational_QD_SystemPre-Requisite_604_20170711-1432_artifacts.zip </verbatim> ---++ Modify the component script artifacts 1. Create a temporary directory. 1. Extract the artifacts.zip file, which you previously downloaded, into the temporary directory. 1. Make your changes to the scripts included in the artifacts.zip file. Optionally add files and delete obsolete files. ---++ Create new component version 1. Choose a naming convention for the new version. For example, you might want to use a date and time stamp. 1. Run the udclient *createVersion* command with the following arguments: * *authtoken*: !UrbanCode Deploy authentication token * *weburl*: URL of !UrbanCode Deploy server * *component*: Name of the component for which you are creating a new version * *name*: Name of the version to be created <br/><br/> For example: <br/><br/> <verbatim> C:\udclient>udclient -authtoken 4196ab18-6bd6-76c5-c294-9648793gb418 -weburl https://ucd-09.host.com:8443 createVersion -component Rational_QD_SystemPre-Requisite_604 -name 20170711-1442 </verbatim> ---++ Publish the artifacts to the new component version 1. Run the udclient *addVersionFiles* command with the following arguments: * *authtoken*: !UrbanCode Deploy authentication token * *weburl*: URL of !UrbanCode Deploy server * *component*: Name of the component * *version*: Name of the version to which you are adding the revised artifacts * *base*: Temporary directory that you created previously that contains the artifacts <br/><br/> For example: <br/><br/> <verbatim> C:\udclient>udclient -authtoken 4196ab18-6bd6-76c5-c294-9648793gb418 -weburl https://ucd-09.host.com:8443 addVersionFiles -component Rational_QD_SystemPre-Requisite_604 -version 20170711-1442 -base tmp </verbatim> ---++ Confirm that the new component version has been published 1. In the !UrbanCode Deploy web client, click the *Components* tab; click the component for which you created a new version; then click the *Versions* tab. 1. Confirm that the new version is visible. For example: <br/><br/> <img src="%ATTACHURLPATH%/component-versionsv20.png" alt="two versions of component"> <!-- THE END --> %INCLUDE{"IBMQuickDeployerInsertMiscellaneous"}% <sticky></div></sticky>
E
dit
|
A
ttach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r4
<
r3
<
r2
<
r1
|
M
ore topic actions
Deployment.IBMQuickDeployerUpdatingComponentArtifacts moved from Deployment.DeploymentIBMQuickDeployerUpdatingComponentArtifactsV20 on 2017-07-31 - 20:21 by Main.ktessier
-
Deployment
Deployment web
Planning and design
Installing and upgrading
Migrating and evolving
Integrating
Administering
Monitoring
Troubleshooting
Community information and contribution guidelines
Create new topic
Topic list
Search
Advanced search
Notify
RSS
Atom
Changes
Statistics
Web preferences
NOTE: Please use the Sandbox web for testing
Status icon key:
To do
Under construction
New
Updated
Constant change
None - stable page
Smaller versions of status icons for inline text:
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use.
Please read the following
disclaimer
.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more
here
.