IQSS / dataverse-jenkins

configs and docs for running continuous integration for Dataverse in Jenkins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Result Trend, Java Warnings Trend, Maven Warnings Trend

pdurbin opened this issue · comments

https://jenkins.dataverse.org/job/IQSS-dataverse-develop/ is looking really good:

Screen Shot 2019-04-10 at 8 52 20 AM

However, it would be even better if it had the graphs...

  • Test Result Trend
  • Java Warnings Trend
  • Maven Warnings Trend

... as we see at https://build.hmdc.harvard.edu:8443/job/phoenix.dataverse.org-build-develop/ and in the screen shot below.

Screen Shot 2019-04-10 at 8 52 47 AM

To get these graphs, would we add something to a config XML file?

@pdurbin per stack overflow:

For the test trend results to appear at least 2 builds must run first.

We started running tests on build #5, so we'll check after the next commit.

@donsizemore oh! So it's automatic. Ok. Thanks.

@pdurbin we'll find out after the next commit.

Jenkins has the option to publish Junit test results automatically, and wants to be pointed at a glob of XML files. I did a test mvn package against develop, and most of the testing output seemed to show up in target/surefire-reports/ and test-classes/. I'm happy to point Jenkins wherever you'd like?

@donsizemore cool. What I really want is to understand what you're doing so I (or someone else) can set this up myself some day. I'm thinking I'll probably attempt to install Jenkins on EC2 and hack around a bit so we can compare notes. What we want is reproducibility, right? Let's figure out a way to share the config and put it in this git repo. Anything we change goes into the file called config.xml? Is that for all the jobs? Or will there be a config file per job? Sorry for all the questions. With Jenkins I've only every done clicky-clicky in the GUI. 😞

@pdurbin The config.xml is for the IQSS-dataverse-develop job; I'll update it once we get our test results part of the workflow in a happy state.

@pdurbin I got all three trends showing on a test jenkins against oduminstitute/dataverse-develop; two more runs and we should see the same charts.

@donsizemore lookin' good! Thanks!!