-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated Jenkins job creation #970
Conversation
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1041/ |
I like the idea, but there is one thing:
Can that behaviour be changed s.t. only a branch with a specific name or only a specific tag (like |
Yes we can set regexes for branch inclusion and exclusion (based on branch name). I propose to use a postfix, e.g. |
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1042/ |
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1043/ |
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1044/ |
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1045/ |
Postfix |
It seems not break the current builds and looks clean. ⏩ |
When make tests ctest: - build/Tests/ctest.log - build/Tests/testrunner.xml
OpenGeoSys development has been moved to GitLab. |
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 thegcc.groovy
where the actual job config is given: