react-native-navigation的迁移库

Jenkinsfile 769B

123456789101112131415161718192021222324252627282930313233343536373839
  1. pipeline {
  2. agent any
  3. stages {
  4. stage('Install npm packages') {
  5. steps {
  6. ansiColor('xterm') {
  7. sh '''#!/bin/bash -ex
  8. npm install
  9. npm run clean'''
  10. }
  11. }
  12. }
  13. stage('Run All Tests') {
  14. parallel {
  15. stage('Run test-js') {
  16. steps {
  17. sh '''#!/bin/bash
  18. npm run test-js'''
  19. }
  20. }
  21. stage('Run iOS tests') {
  22. steps {
  23. sh '''#!/bin/bash
  24. npm run test-unit-ios -- --release
  25. npm run test-e2e-ios -- --release'''
  26. }
  27. }
  28. stage('Run Android tests') {
  29. steps {
  30. sh '''#!/bin/bash
  31. npm run test-unit-android -- --release'''
  32. }
  33. }
  34. }
  35. }
  36. }
  37. }