Skip to content

Commit

Permalink
Add the Contract Tests to the mobile CI/CD pipeline (#19017)
Browse files Browse the repository at this point in the history
* Add the Contract Tests to the mobile CI/CD pipeline

* Increase timeout to 20 minutes
  • Loading branch information
Flavio Fraschetti authored Feb 28, 2024
1 parent 7171c70 commit acc6a3c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ci/Jenkinsfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit acc6a3c

Please sign in to comment.