mirror of
https://github.com/status-im/status-react.git
synced 2025-02-03 06:34:14 +00:00
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:
parent
7171c7085d
commit
acc6a3c072
@ -10,7 +10,7 @@ pipeline {
|
|||||||
options {
|
options {
|
||||||
timestamps()
|
timestamps()
|
||||||
/* Prevent Jenkins jobs from running forever */
|
/* Prevent Jenkins jobs from running forever */
|
||||||
timeout(time: 15, unit: 'MINUTES')
|
timeout(time: 20, unit: 'MINUTES')
|
||||||
/* Limit builds retained */
|
/* Limit builds retained */
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '10',
|
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') {
|
stage('Integration Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh """#!/bin/bash
|
sh """#!/bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user