mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add multiconfiguration support to jenkins build script
also unifies build.sh and build-pr.sh and gets rid of build-opm-simulators.sh
This commit is contained in:
@@ -1,41 +1,32 @@
|
||||
# opm-simulators jenkins build scripts:
|
||||
|
||||
**build-opm-simulators.sh**:
|
||||
This is a helper script which contains functions for building,
|
||||
testing and cloning opm-simulators and its dependencies.
|
||||
|
||||
**build.sh**:
|
||||
This script will build dependencies, then build opm-simulators 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-simulators 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
|
||||
opm-grid (defaults to master) and then builds $sha1 of opm-simulators.
|
||||
It also inspects the $ghbPrBuildComment environmental variable and builds
|
||||
downstreams if requested. It inspects the $ghbPrBuildComment
|
||||
environmental variable to obtain a pull request to use for the modules.
|
||||
|
||||
It is intended for pre-merge builds of pull requests.
|
||||
|
||||
You can optionally specify a given pull request to use for ert, opm-common,
|
||||
opm-parser, opm-material, opm-core and opm-grid through the trigger.
|
||||
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>
|
||||
and/or opm-grid=<pull request number>
|
||||
and/or opm-output=<pull request number>.
|
||||
To specify a given pull request to use for upstreams and downstreams,
|
||||
trigger line needs to contain <module-name>=<pull request number>.
|
||||
|
||||
To build with downstreams the trigger line needs to contain 'with downstreams'.
|
||||
|
||||
**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.
|
||||
OPM and Eclipse reference results. It is meant to be executed after a build.
|
||||
The binary used used is from the build identified by the configuration
|
||||
environment variable.
|
||||
|
||||
**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.
|
||||
plots of the results. It is meant to be executed after a build.
|
||||
The binary used used is from the build identified by the configuration
|
||||
environment variable.
|
||||
|
||||
**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.
|
||||
Eclipse reference results. It is meant to be executed after a build.
|
||||
The binary used used is from the build identified by the configuration
|
||||
environment variable.
|
||||
|
||||
Reference in New Issue
Block a user