The template is a pretty standard template like this 
https://wiki.jenkins.io/download/attachments/3604514/jenkins-matrix-email-html.template?version=1&modificationDate=1332562186000&api=v2
I am trying to get maven artifacts urls

    <!-- MAVEN ARTIFACTS -->
    <j:set var="mbuilds" value="${build.moduleBuilds}" />
    <j:if test="${mbuilds!=null}">
      <div class="content">
        <h1>Build Artifacts</h1>
        <j:forEach var="m" items="${mbuilds}">
          <h2>${m.key.displayName}</h2>
          <j:forEach var="mvnbld" items="${m.value}">
            <j:set var="artifacts" value="${mvnbld.artifacts}" />
            <j:if test="${artifacts!=null and artifacts.size()&gt;0}">
              <ul>
                <j:forEach var="f" items="${artifacts}">
                  <li>
                    <a href="${rooturl}${mvnbld.url}artifact/${f}">${f}</a>
                  </li>
                </j:forEach>
              </ul>
            </j:if>
          </j:forEach>
        </j:forEach>
        <br />
      </div>
    </j:if>



On Friday, April 19, 2019 at 9:30:49 AM UTC-7, Cyrille Le Clerc wrote:
>
> do you have examples of integrations of the email ext plugin with other 
> plugins?
> Is the integration based on environment variables?
>
> Cyrille
>
> On Friday, April 19, 2019 at 2:15:11 AM UTC+2, Harsh Shah wrote:
>>
>> Hi,
>>   We have been using pipeline maven plugin and maven artifact publisher 
>> to display deployed artifacts by the build. 
>>
>>   We also use ext-email plugin with a template to provide notifications. 
>>
>> How can I get the published maven artifacts from maven artifact publisher 
>> in my email description?
>>
>>  
>> Thanks,
>> -Harsh
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/70d2ed27-0034-45d4-a478-58c88f8f3c8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to