[tor-bugs] #20564 [Metrics]: Add Jenkins configuration for running CollecTor's unit tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 4 11:18:43 UTC 2016


#20564: Add Jenkins configuration for running CollecTor's unit tests
-----------------------------+-----------------
     Reporter:  karsten      |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:
    Component:  Metrics      |    Version:
     Severity:  Normal       |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |   Reviewer:
      Sponsor:               |
-----------------------------+-----------------
 We should start using Jenkins for metrics builds, and ideally we should
 start with something simple.  Let's have it run CollecTor's unit tests as
 a start.  Step two would be to run Checkstyle or Cobertura, but those
 require .jar files that are not in Debian Stable.  So, step one for now.

 weasel suggests these two Git repositories:

 {{{
 git clone git at git-rw.torproject.org:project/jenkins/tools
 git clone git at git-rw.torproject.org:project/jenkins/jobs
 }}}

 In particular, `tools/slaves/linux/tb-manual` and the corresponding
 settings in the `jobs` repository might serve as template for us.

 The CollecTor repository is here:

 {{{
 https://gitweb.torproject.org/collector.git/
 }}}

 Build requirements can be derived from the .jar files listed here:

 {{{
 https://gitweb.torproject.org/collector.git/tree/build.xml
 }}}

 Just came to mind: we might have to package metrics-lib first, because
 Jenkins jobs cannot download anything from the network.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20564>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list