Skip to content
Snippets Groups Projects
Commit c813d7d6 authored by Lars Bilke's avatar Lars Bilke Committed by Lars Bilke
Browse files

[Jenkins] Build web.

parent a56cb87e
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@ def helper = new ogs.helper()
def image = docker.image('ogs6/gcc-gui:latest')
image.pull()
image.inside(defaultDockerArgs) {
stage('Install prerequisites Web') {
sh 'cd ogs/web && yarn && sudo -H pip install -r requirements.txt'
}
stage('Configure (Linux-Docker)') {
configure.linux(cmakeOptions: defaultCMakeOptions, script: this)
}
......@@ -32,6 +35,10 @@ image.inside(defaultDockerArgs) {
build.linux(script: this, target: 'tests ctest')
}
stage('Web (Linux-Docker)') {
build.linux(script: this, target: 'web')
}
stage('Data Explorer (Linux-Docker)') {
configure.linux(
cmakeOptions: defaultCMakeOptions + guiCMakeOptions,
......@@ -45,5 +52,8 @@ image.inside(defaultDockerArgs) {
stage('Post (Linux-Docker)') {
post.publishTestReports 'build/Testing/**/*.xml', 'build/Tests/testrunner.xml',
'ogs/scripts/jenkins/clang-log-parser.rules'
publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: false,
keepAll: false, reportDir: 'ogs/web/public', reportFiles: 'index.html',
reportName: 'Web'])
post.cleanup()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment