• This project
    • Loading...
  • Sign in

André Silva Paulino / CICD-teste

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • CICD-teste
  • jenkins
  • Jenkinsfile
  • Adicionando mais um estágio no pipeline · bfba487d
    bfba487d Browse Files
    André Silva Paulino authored 2023-03-05 12:54:26 -0300
Jenkinsfile 383 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
pipeline {
    agent any
    stages {
        stage('Build') {
            steps {
                sh 'npm install'
                sh 'npm run build'
            }
        }
        stage('Test') {
            steps {
                sh 'npm test'
            }
        }
        stage('Deploy') {
            steps {
                sh 'npm deploy'
            }
        }
    }
}