#13 fix working directory in volume mount
Some checks failed
Amarillo/amarillo-gitea/amarillo-core/pipeline/head There was a failure building this commit

This commit is contained in:
Csaba 2024-01-11 13:11:24 +01:00
parent 08daefd620
commit 64fe8b5571

2
Jenkinsfile vendored
View file

@ -24,7 +24,7 @@ pipeline {
steps{
script {
docker.image("${OWNER}/${IMAGE_NAME}:${TAG}").inside(
'--rm --name amarillo -p 8000:80 -e MODULE_NAME=amarillo.app.main -e MAX_WORKERS=1 -e ADMIN_TOKEN=test -e RIDE2GO_TOKEN=test -e METRICS_USER=test -e METRICS_PASSWORD=test -e TZ=Europe/Berlin -v $(pwd)/data:/app/data'
"--rm --name amarillo -p 8000:80 -e MODULE_NAME=amarillo.app.main -e MAX_WORKERS=1 -e ADMIN_TOKEN=test -e RIDE2GO_TOKEN=test -e METRICS_USER=test -e METRICS_PASSWORD=test -e TZ=Europe/Berlin -v ${pwd()}/data:/app/data"
){
// TODO: wait until the API is up
c -> sh script: """