Skip to content

Automated Jenkins job creation

Lars Bilke requested to merge github/fork/bilke/jenkins-tests into master

This PR adds functionality to automatically create Jenkins jobs for a given git repository and then automatically build all branches when pushed (i.e. pull request testing before submitting the pull request). The only thing to be done is to mark a repo to be tested (see my repo and the ufz repo).

For the moment these tests will be run in addition to other tests as I am using the Jenkins Pipeline-functionality which still misses some features. Also the tests are a little bit slow because they are run on an old machine.

Starting point is the Jenkinsfile which loads the gcc.groovy where the actual job config is given:

  • builds inside a docker container
  • runs testrunner and ctest
  • publishes test results
  • scans console output for error and warnings

Merge request reports