Currently the JUnit tests do not have a build mechanism other than eclipse build. This is an issue when trying to setup a CI framework with Jenkins.
Though the project in the Jenkins server can point to a local copy of the git source, the CI server is required to checkout latest source from the git repo and initiate the process.
The JUnit tests have to be compiled in the compose test script, since it is not possible to open the project in eclipse and build them, the test rpm will not contain the compiled tests, which means the Java tests are not run.
This is not a problem when the Jenkins workspace points to a local copy of the code.
Fixed in the patches mentioned here: https://fedorahosted.org/pki/ticket/657#comment:7
Metadata Update from @kaskahn: - Issue assigned to kaskahn - Issue set to the milestone: 10.1 - 10/13 (October)
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/1352
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Login to comment on this ticket.