currently, the following message is produced: ``` /var/lib/jenkins/workspace/opm-material-PR-builder/deps/opm-common/jenkins/build-opm-module.sh: line 88: cd: -D: invalid option ``` this is caused by trying to change the working directory to $1 which represents additional cmake parameters, instead of to $3 which represents the source directory. This mistake currently (probably) prevents the pre-build hook from ever being executed.
opm-common jenkins build scripts:
build-opm-module.sh: This is a helper script which contains functions for building, testing and cloning modules.
build.sh: This expects to run on a jenkins instance with opm-common as the 'origin' remote.
It will build and test opm-common. It can be used both for post-merge builds of the master branch and for a github pull request builder job.