How to pull a report from HP Performance Center in Jenkins.

13 views
Skip to first unread message

Jim Ryan

unread,
Aug 16, 2019, 1:11:29 PM8/16/19
to Jenkins Users
We run regular, scheduled jobs in Performance Center.  These are scheduled to run via the Performance Center API.  I want to then have a scheduled job in Jenkins that will pull one of the reports from the job and save it somewhere where I can then post a link to it in Slack, or email the link, or somehow get it to the group that needs the info.

Now, I have been able, via the API, to in fact get the report, which is in a .zip file.  But this just displays it,as binary characters in the Jenkins console window.  I cannot figure out how, in the Jenkins Groovy script, to push that .zip file to some external location.  It also, for some reason, does not show up as an artifact when I click on the job in Jenkins.

I don't have to do this via the API, I would be open to using a Jenkins plugin if one exists.  But I would like to know how to do the API method if possible as I have no admin rights and Jenkins and have to deal with another group in the company via service tickets to get this done.  That being said, is it possible to see somewhere in Jenkins, as a lowly user, what plugins are installed?

Thanks for any help.

Jim

Jim Ryan

unread,
Aug 27, 2019, 11:53:51 AM8/27/19
to Jenkins Users
Nobody?  I can't be the first...;+}

John.E...@wellsfargo.com

unread,
Aug 27, 2019, 1:26:28 PM8/27/19
to jenkins...@googlegroups.com

Your question isn’t very clear.  Your subject line suggests you have an issue downloading the report but then you said you know how to do that.

 

Try unzipping the report, archiving it (with the “Archive the artifacts” post-build step,) then provide a link to Report.html.  When you do this the first time, you can use your browser to navigate to the Build Artifacts to see what the URL would be.

 

Moving the report to another location is a good idea, too, but I haven’t done that.  That’s a little trickier because while it’s easy to post a single zip file, you’d really need to post and unzip.

 

 

 

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/913ae133-837c-4101-be5a-aa88e0c769f0%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages