make gitea/Jenkinsfile declarative

- fix environment
This commit is contained in:
2019-02-10 10:56:52 -05:00
parent 88acf4e66a
commit 6939cdb119
2 changed files with 1 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ pipeline {
sh """
export DOCKER_HOST=${DOCKER_HOST}
docker stack deploy --with-registry-auth --prune -c docker-compose.yml gitea
chmod +x ../scaleout.sh && ../scaleout.sh gitea_app 180
(cd ../ && chmod +x ./scaleout.sh && ./scaleout.sh gitea_app 180)
"""
}
}

0
dockerfiles/services/scaleout.sh Normal file → Executable file
View File