Jenkinsfile 565 B

123456789101112131415161718192021222324252627
  1. pipeline {
  2. agent {label '132'}
  3. stages {
  4. stage('preperation') {
  5. steps {
  6. sh 'npm install'
  7. sh 'npm run preperation'
  8. }
  9. }
  10. stage('build server') {
  11. steps {
  12. sh 'id'
  13. sh 'npm run build_server'
  14. }
  15. }
  16. stage('build web') {
  17. steps {
  18. sh 'npm run build_web'
  19. }
  20. }
  21. stage('deploy') {
  22. steps {
  23. sh 'npm run deploy'
  24. }
  25. }
  26. }
  27. }