mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
set timeouts in Jenkinsfile to 2 hrs
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
parent
bdc1c1a02a
commit
bf70a5975d
1 changed files with 7 additions and 6 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -4,7 +4,7 @@ pipeline {
|
||||||
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(daysToKeepStr: '30'))
|
buildDiscarder(logRotator(daysToKeepStr: '30'))
|
||||||
timeout(time: 3, unit: 'HOURS')
|
timeout(time: 2, unit: 'HOURS')
|
||||||
timestamps()
|
timestamps()
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
|
@ -21,6 +21,7 @@ pipeline {
|
||||||
DOCKER_GRAPHDRIVER = 'overlay2'
|
DOCKER_GRAPHDRIVER = 'overlay2'
|
||||||
APT_MIRROR = 'cdn-fastly.deb.debian.org'
|
APT_MIRROR = 'cdn-fastly.deb.debian.org'
|
||||||
CHECK_CONFIG_COMMIT = '78405559cfe5987174aa2cb6463b9b2c1b917255'
|
CHECK_CONFIG_COMMIT = '78405559cfe5987174aa2cb6463b9b2c1b917255'
|
||||||
|
TIMEOUT = '120m'
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
@ -130,7 +131,6 @@ pipeline {
|
||||||
-e DOCKER_EXPERIMENTAL \
|
-e DOCKER_EXPERIMENTAL \
|
||||||
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
||||||
-e DOCKER_GRAPHDRIVER \
|
-e DOCKER_GRAPHDRIVER \
|
||||||
-e TIMEOUT=120m \
|
|
||||||
docker:${GIT_COMMIT} \
|
docker:${GIT_COMMIT} \
|
||||||
hack/validate/vendor
|
hack/validate/vendor
|
||||||
'''
|
'''
|
||||||
|
@ -221,6 +221,7 @@ pipeline {
|
||||||
-e TEST_SKIP_INTEGRATION_CLI \
|
-e TEST_SKIP_INTEGRATION_CLI \
|
||||||
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
||||||
-e DOCKER_GRAPHDRIVER \
|
-e DOCKER_GRAPHDRIVER \
|
||||||
|
-e TIMEOUT \
|
||||||
docker:${GIT_COMMIT} \
|
docker:${GIT_COMMIT} \
|
||||||
hack/make.sh \
|
hack/make.sh \
|
||||||
"$1" \
|
"$1" \
|
||||||
|
@ -341,7 +342,7 @@ pipeline {
|
||||||
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
||||||
-e DOCKER_GRAPHDRIVER \
|
-e DOCKER_GRAPHDRIVER \
|
||||||
-e TEST_SKIP_INTEGRATION_CLI=1 \
|
-e TEST_SKIP_INTEGRATION_CLI=1 \
|
||||||
-e TIMEOUT="300m" \
|
-e TIMEOUT \
|
||||||
docker:${GIT_COMMIT} \
|
docker:${GIT_COMMIT} \
|
||||||
hack/make.sh \
|
hack/make.sh \
|
||||||
dynbinary \
|
dynbinary \
|
||||||
|
@ -415,7 +416,7 @@ pipeline {
|
||||||
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
||||||
-e DOCKER_GRAPHDRIVER \
|
-e DOCKER_GRAPHDRIVER \
|
||||||
-e TEST_SKIP_INTEGRATION=1 \
|
-e TEST_SKIP_INTEGRATION=1 \
|
||||||
-e TIMEOUT="300m" \
|
-e TIMEOUT \
|
||||||
docker:${GIT_COMMIT} \
|
docker:${GIT_COMMIT} \
|
||||||
hack/make.sh \
|
hack/make.sh \
|
||||||
dynbinary \
|
dynbinary \
|
||||||
|
@ -500,7 +501,7 @@ pipeline {
|
||||||
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
||||||
-e DOCKER_GRAPHDRIVER \
|
-e DOCKER_GRAPHDRIVER \
|
||||||
-e TEST_SKIP_INTEGRATION_CLI=1 \
|
-e TEST_SKIP_INTEGRATION_CLI=1 \
|
||||||
-e TIMEOUT="180m" \
|
-e TIMEOUT \
|
||||||
docker:${GIT_COMMIT} \
|
docker:${GIT_COMMIT} \
|
||||||
hack/make.sh \
|
hack/make.sh \
|
||||||
dynbinary \
|
dynbinary \
|
||||||
|
@ -572,7 +573,7 @@ pipeline {
|
||||||
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
-e DOCKER_GITCOMMIT=${GIT_COMMIT} \
|
||||||
-e DOCKER_GRAPHDRIVER \
|
-e DOCKER_GRAPHDRIVER \
|
||||||
-e TEST_SKIP_INTEGRATION=1 \
|
-e TEST_SKIP_INTEGRATION=1 \
|
||||||
-e TIMEOUT="180m" \
|
-e TIMEOUT \
|
||||||
docker:${GIT_COMMIT} \
|
docker:${GIT_COMMIT} \
|
||||||
hack/make.sh \
|
hack/make.sh \
|
||||||
dynbinary \
|
dynbinary \
|
||||||
|
|
Loading…
Reference in a new issue