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
This commit is contained in:
Flavio Fraschetti 2024-02-28 06:47:45 -03:00 committed by GitHub
parent 7171c7085d
commit acc6a3c072
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 1 deletions

View File

@ -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