From acc6a3c0722d60bb3913fa6ccb0ee6ae3f5e3341 Mon Sep 17 00:00:00 2001 From: Flavio Fraschetti Date: Wed, 28 Feb 2024 06:47:45 -0300 Subject: [PATCH] Add the Contract Tests to the mobile CI/CD pipeline (#19017) * Add the Contract Tests to the mobile CI/CD pipeline * Increase timeout to 20 minutes --- ci/Jenkinsfile.tests | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ci/Jenkinsfile.tests b/ci/Jenkinsfile.tests index d41585373b6..9a033da2676 100644 --- a/ci/Jenkinsfile.tests +++ b/ci/Jenkinsfile.tests @@ -10,7 +10,7 @@ pipeline { options { timestamps() /* Prevent Jenkins jobs from running forever */ - timeout(time: 15, unit: 'MINUTES') + timeout(time: 20, unit: 'MINUTES') /* Limit builds retained */ buildDiscarder(logRotator( numToKeepStr: '10', @@ -62,6 +62,14 @@ pipeline { } } } + stage('Contract Tests') { + steps { + sh """#!/bin/bash + set -eo pipefail + make test-contract 2>&1 | tee -a ${LOG_FILE} + """ + } + } stage('Integration Tests') { steps { sh """#!/bin/bash