take web screenshots during testing

pull/183/head
thelamer 6 years ago
parent f46f78860b
commit 5dd03532e5

5
Jenkinsfile vendored

@ -22,13 +22,13 @@ pipeline {
DIST_IMAGE = 'ubuntu' DIST_IMAGE = 'ubuntu'
MULTIARCH='true' MULTIARCH='true'
CI='true' CI='true'
CI_WEB='false' CI_WEB='true'
CI_PORT='32400' CI_PORT='32400'
CI_SSL='false' CI_SSL='false'
CI_DELAY='120' CI_DELAY='120'
CI_DOCKERENV='TZ=US/Pacific' CI_DOCKERENV='TZ=US/Pacific'
CI_AUTH='user:password' CI_AUTH='user:password'
CI_WEBPATH='' CI_WEBPATH='/web/index.html'
} }
stages { stages {
// Setup all the basic environment variables needed for the build // Setup all the basic environment variables needed for the build
@ -467,6 +467,7 @@ pipeline {
docker tag lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG} docker tag lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
fi fi
docker run --rm \ docker run --rm \
--shm-size=1gb \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-e IMAGE=\"${IMAGE}\" \ -e IMAGE=\"${IMAGE}\" \
-e DELAY_START=\"${CI_DELAY}\" \ -e DELAY_START=\"${CI_DELAY}\" \

@ -19,10 +19,10 @@ repo_vars:
- DIST_IMAGE = 'ubuntu' - DIST_IMAGE = 'ubuntu'
- MULTIARCH='true' - MULTIARCH='true'
- CI='true' - CI='true'
- CI_WEB='false' - CI_WEB='true'
- CI_PORT='32400' - CI_PORT='32400'
- CI_SSL='false' - CI_SSL='false'
- CI_DELAY='120' - CI_DELAY='120'
- CI_DOCKERENV='TZ=US/Pacific' - CI_DOCKERENV='TZ=US/Pacific'
- CI_AUTH='user:password' - CI_AUTH='user:password'
- CI_WEBPATH='' - CI_WEBPATH='/web/index.html'

Loading…
Cancel
Save