react-native-navigation的迁移库

Jenkinsfile 705B

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