-
New Feature
-
Resolution: Done
-
Major
We are integrating Jenkins with hp-application-automation-tools-plugin but unable to pass attribute values to the plugin properties of a job created by the template.
Code in transformer using Groovy template transformationtype:
<builders>
<com.hp.application.automation.tools.run.SseBuilder plugin="hp-application-automation-tools-plugin@4.0">
<__sseModel>
<_almServerName>${almServerName}</_almServerName>
<_almServerUrl>${almServerUrl}</_almServerUrl>
<_almUserName>${almUserName}</_almUserName>
<__almPassword class="com.hp.application.automation.tools.model.SecretContainerImpl">
<_secret>${secret}</_secret>
</__almPassword>
<_almDomain>${almDomain}</_almDomain>
<_almProject>${almProject}</_almProject>
<_timeslotDuration>30</_timeslotDuration>
<_description></_description>
<_runType>${runType}</_runType>
<_almEntityId>${almEntity}</_almEntityId>
<_environmentConfigurationId></_environmentConfigurationId>
</__sseModel>
<_fileName></_fileName>
</com.hp.application.automation.tools.run.SseBuilder>
</builders>
The above $ values are supposed to be replaced by values selected or entered in the attributes by the user but they are not converted to the correct values in the job config.xml.