I finally got it working (should execute it after withMaven {}.
My problem is that it shows 3 of four artifacts deployed. (jar, sources,
javadoc). Pom is missing, but it gets archived into the build...
On Saturday, April 27, 2019 at 1:59:53 AM UTC+2, Harsh Shah wrote:
>
> Hi, Cyrille
>
> So
I'm getting a null object when trying to get the deployed artifacts on
command:
currentBuild.rawBuild.getAction(org.jenkinsci.plugins.pipeline.maven.
publishers.MavenReport.class)
do you know what am i doing wrong?
On Thursday, May 30, 2019 at 11:51:13 PM UTC+2, Cyrille Le Clerc wrote:
>
> For
For the record, this FAQ section:
https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin#PipelineMavenPlugin-HowtouseMavenbuilddataingeneratedemails
On Saturday, April 27, 2019 at 1:59:53 AM UTC+2, Harsh Shah wrote:
>
> Hi, Cyrille
>
> So this is how I do it.
>
>
> pipeline side invoke
Hi, Cyrille
So this is how I do it.
pipeline side invoke the method
env.DEPLOYEDARTIFACTS = getDeployedArtifacts()
@NonCPS
def getDeployedArtifacts() {
def deployed = ''
Collection
generatedArtifacts =
Thanks Harsh,
Could you please share with us an example of using maven pipeline details
in email generated by the email ext plug-in that I would add to the
documentation?
Le lun. 22 avr. 2019 à 08:49, Harsh Shah a écrit :
> Collection
> generatedArtifacts =
>
Collection
generatedArtifacts =
currentBuild.rawBuild.getAction(org.jenkinsci.plugins.pipeline.maven.publishers.MavenReport.class).getGeneratedArtifacts();
for (org.jenkinsci.plugins.pipeline.maven.MavenArtifact
generatedArtifact:generatedArtifacts) {
Hi,
Thanks, this works.
-Harsh
On Sunday, April 21, 2019 at 9:15:50 AM UTC-7, Cyrille Le Clerc wrote:
>
> Hello Harsh,
>
>
> This seems to be possible but I have not tried. It should look like:
>
> Collection
> generatedArtifacts = build.getAction(org.jenkinsci.plugins.pipeline.maven.
>
Hello Harsh,
This seems to be possible but I have not tried. It should look like:
Collection
generatedArtifacts = build.getAction(org.jenkinsci.plugins.pipeline.maven.
publishers.MavenReport.class).getGeneratedArtifacts();
for (MavenArtifact generatedArtifact:generatedArtifacts) {
if
The template is a pretty standard template like this
https://wiki.jenkins.io/download/attachments/3604514/jenkins-matrix-email-html.template?version=1=1332562186000=v2
I am trying to get maven artifacts urls
Build Artifacts
${m.key.displayName}
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
>
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?
11 matches
Mail list logo