Skip to content

Commit

Permalink
ci: remove global timeout
Browse files Browse the repository at this point in the history
This timeout can be triggered when the Jenkins queue is large, which is
not intended.

Signed-off-by: Vitor Bandeira <[email protected]>
  • Loading branch information
Vitor Bandeira committed Nov 19, 2024
1 parent 53127c4 commit c0d35b7
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,19 +191,17 @@ def getParallelTests(String image) {
return ret;
}

timeout(time: 2, unit: 'HOURS') {
node {
stage('Checkout') {
checkout scm;
}
def DOCKER_IMAGE;
stage('Build and Push Docker Image') {
DOCKER_IMAGE = dockerPush('ubuntu22.04', 'openroad');
echo "Docker image is ${DOCKER_IMAGE}";
}
parallel(getParallelTests(DOCKER_IMAGE));
stage('Send Email Report') {
sendEmail();
}
node {
stage('Checkout') {
checkout scm;
}
def DOCKER_IMAGE;
stage('Build and Push Docker Image') {
DOCKER_IMAGE = dockerPush('ubuntu22.04', 'openroad');
echo "Docker image is ${DOCKER_IMAGE}";
}
parallel(getParallelTests(DOCKER_IMAGE));
stage('Send Email Report') {
sendEmail();
}
}

0 comments on commit c0d35b7

Please sign in to comment.