Skip to content

Commit

Permalink
Add the Contract Tests to the mobile CI/CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
FFFra committed Feb 27, 2024
1 parent bf1a734 commit 26f4cd9
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: 30, 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 26f4cd9

Please sign in to comment.