E
dit
A
ttach
P
rintable
r6 - 2015-05-27 - 16:33:35 - Main.sbagot
You are here:
TWiki
>
Deployment Web
>
DeploymentTroubleshooting
>
IntegrationsTroubleshooting
>
JenkinsAndHudson
>
PostBuildandJenkins
<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%"> ---+!! <img src="" alt="" width="50" height="50" align="right"/> When selecting Post Build activities in the Build definition, after the build is complete no Post Build activities are triggered. %DKGRAY% Authors: IntegrationsTroubleshootingTeam <br> Build basis: Rational Team Concert 4.x and later %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> ---++ Subsequent analysis steps. * You need to invoke the Jazz ant participant com.ibm.team.build.autoDeliver in build.xml in a target after all the necessary build targets are completed. * The Jazz Build Engine participant step should be invoked from the Ant script using an EXEC block, so it will be able to access the variables necessary for the build. Example command : <verbatim> <target name="Deliver"> <exec executable="cmd"> <arg value="/c"/> <arg value="C:\PathToBuildToolKit\jazz\buildsystem\buildengine\eclipse\jbe.exe -userId ${Build_User} -pass ${Build_pass} -repository https://<host>:9443/ccm -buildResultUUID ${buildResultID} -engineId ${engineId} -participants com.ibm.team.build.autoDeliver -noComplete -verbose"/> </exec> </target> </verbatim> Use case Example: if you are using the sample provided in [[https://jazz.net/wiki/bin/view/Main/JazzScmWithJenkins][Integrating with Jazz SCM and Builds from Hudson and Jenkins]] you need to modify build.xml to invoke the participant _autoDeliver_ <verbatim> <target name="runBuild" depends="compile, test"> <exec executable="cmd"> <arg value="/c"/> <arg value="C:\JazzBuild\jazz\buildsystem\buildengine\eclipse\jbe.exe -userId ${userId} -pass ${password} -repository https://9.142.63.252:9443/ccm -buildResultUUID ${buildResultID} -engineId jenkins.local1 -participants com.ibm.team.build.autoDeliver -noComplete -verbose"/> </exec> </target> </verbatim> Note: This participant does not get invoked when you define the Post Build activities in the Build definition. This needs to be invoked in a target for Post Build to work in RTC. ---+++++!! Related topics: * Still need help troubleshooting your integrations issue? Refer to [[IntegrationsTroubleshooting][Integrations troubleshooting]] for additional topics. ---+++++!! External links: ---+++++!! Additional contributors: Main.ZeeshanChoudhry <sticky></div></sticky>
E
dit
|
A
ttach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r6
<
r5
<
r4
<
r3
<
r2
|
M
ore topic actions
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
.