12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- pipeline {
- agent any
- stages {
- stage('Install npm packages') {
- steps {
- ansiColor('xterm') {
- sh '''#!/bin/bash -ex
- npm install
- npm run clean'''
- }
- }
- }
- stage('Run All Tests') {
- parallel {
- stage('Run test-js') {
- steps {
- sh '''#!/bin/bash
-
- npm run test-js'''
- }
- }
- stage('Run IOS tests') {
- steps {
- sh '''#!/bin/bash
-
- npm run test-unit-ios -- --release
- npm run test-e2e-ios -- --release'''
- }
- }
- stage('Run android tests') {
- steps {
- sh '''#!/bin/bash
-
- npm run test-unit-android -- --release
- npm run test-e2e-android -- --release'''
- }
- }
- }
- }
- }
- }
-
|