Reac front end for psicometric app

Jenkinsfile 732B

123456789101112131415161718192021222324252627282930313233
  1. pipeline {
  2. agent {
  3. node {
  4. label 'ClubDit'
  5. }
  6. }
  7. stages {
  8. stage('test') {
  9. steps {
  10. sh 'echo pwd'
  11. }
  12. }
  13. stage('install dependencies') {
  14. steps {
  15. sh 'npm install'
  16. }
  17. }
  18. stage('build') {
  19. steps {
  20. sh 'npm run build'
  21. }
  22. }
  23. }
  24. post {
  25. always {
  26. slackSend channel: '#sysproy2',
  27. color: currentBuild.currentResult == 'SUCCESS' ? 'good' : 'danger',
  28. message: "*${currentBuild.currentResult}:* Job ${env.JOB_NAME} build ${env.BUILD_NUMBER} More info at: ${env.BUILD_URL}"
  29. }
  30. }
  31. }