Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36450

Unable to inject HP Application AUtomation Tools properties with attributes/environment variables

XMLWordPrintable

      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.

            roy_lu Roy Lu
            csung888 Cathy Sung
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: