2016-04-04 10:35:23 -05:00
|
|
|
# opm-autodiff jenkins build scripts:
|
|
|
|
|
|
|
|
**build-opm-autodiff.sh**:
|
|
|
|
This is a helper script which contains functions for building,
|
|
|
|
testing and cloning opm-autodiff and its dependencies.
|
|
|
|
|
|
|
|
**build.sh**:
|
|
|
|
This script will build dependencies, then build opm-autodiff and execute its tests.
|
|
|
|
It is intended for post-merge builds of the master branch.
|
|
|
|
|
|
|
|
**build-pr.sh**:
|
|
|
|
This script will build dependencies, then build opm-autodiff and execute its tests.
|
|
|
|
It inspects the $ghbPrBuildComment environmental variable to obtain a pull request
|
|
|
|
to use for ert, opm-common, opm-parser, opm-material, opm-core and
|
2016-04-06 05:29:44 -05:00
|
|
|
opm-grid (defaults to master) and then builds $sha1 of opm-autodiff.
|
2016-04-04 10:35:23 -05:00
|
|
|
|
|
|
|
It is intended for pre-merge builds of pull requests.
|
|
|
|
|
|
|
|
You can optionally specify a given pull request to use for ert, opm-common,
|
2016-04-06 05:29:44 -05:00
|
|
|
opm-parser, opm-material, opm-core and opm-grid through the trigger.
|
2016-04-04 10:35:23 -05:00
|
|
|
The trigger line needs to contain ert=<pull request number> and/or
|
|
|
|
opm-common=<pull request number> and/or opm-parser=<pull request number>
|
|
|
|
and/or opm-material=<pull request number>
|
|
|
|
and/or opm-core=<pull request number>
|
2016-04-06 05:29:44 -05:00
|
|
|
and/or opm-grid=<pull request number>
|
2016-04-04 10:35:23 -05:00
|
|
|
and/or opm-output=<pull request number>.
|
2016-04-05 01:40:55 -05:00
|
|
|
|
|
|
|
**run-spe.sh**:
|
|
|
|
This script will execute the SPE1, SPE3 and SPE9 cases, then compare against
|
|
|
|
OPM and Eclipse reference results. It is meant to be executed after either
|
|
|
|
of the two build scripts above.
|
2016-04-05 02:14:39 -05:00
|
|
|
|
|
|
|
**run-norne.sh**:
|
|
|
|
This script will execute the Norne case, and generate a document with
|
|
|
|
plots of the results. It is meant to be executed after either
|
|
|
|
of the two build scripts above.
|
2016-04-05 02:42:56 -05:00
|
|
|
|
|
|
|
**run-polymer.sh**:
|
|
|
|
This script will execute the simple2D polymer case, then compare against
|
|
|
|
Eclipse reference results. It is meant to be executed after either
|
|
|
|
of the two build scripts above.
|