Hi Experts,
Version: 7.4.1 (Solaris)
How do we pass custom variables to PLC LSCS deployment? For e.g we would like to send the static contents to web server via the PLC, and we added a new definition to the commit-deploy-plc.xml :
<definition name="MYDEFINITIONNAME_PRI">
<source>
<fileSystem>
<filelist area="$areaFileSystemPath^" filePath="$fileList^">
<pathSpecification>
<path name="."/> <filters>
<includePath subPath="assets"/>
</filters>
</pathSpecification>
</filelist>
</fileSystem>
</source>
<target>
<targetFilesystem area="WebServertargetArea"/>
<comparisonRules dateDifferent="yes"/>
<permissionRules file="0644" directory="0755"/>
<replicationFarmLink>
<internal name = "WebServerLiveSiteFarm"/>
</replicationFarmLink>
</target>
</definition>
Tried to set task variable “odSubst_WebServertargetArea” in the Production Deployment task of PLC, but it doesn’t get passed to the commit-deploy-plc LSCS deployment, though it does work for LSDS DataDeployments.
Also tried override LSCSDeploymentServiceAdapter to inject the parameter to the deployment object that is returned, but it doesn’t work that way as well.
It seems like a common requirement, thus checking if anyone has any pointers.