react-native-navigation的迁移库

Jenkinsfile 771B

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