Commit 82d849e1 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

modify jenkinsfile

parent 906da31e
Loading
Loading
Loading
Loading
+32 −1
Original line number Diff line number Diff line
@@ -8,7 +8,38 @@ pipeline {
    options {
        timeout(time: 30, unit: 'MINUTES')
    }
    environment {
		branch = 'continuous-integration'
		scmUrl = 'https://github.com/Telefonica/pesp_capif_backoffice_frontend_v2.git'
	}	
	
    stages {
        stage('build') {
            steps {
                echo 'Installing Dependencies'
                sh 'yarn install'
				echo 'Building NextJS App'
				//sh 'node_modules/next/dist/bin/next build'
            }
        }
        stage('deploy development') {
            steps {
                echo 'Deploy Development'
            }
        }
        stage('deploy staging') {
            steps {
                echo 'Deploy Staging'
            }
        }
		stage('deploy production') {
			steps {
				echo 'Deploy Production'
			}
		}
    }

    /*stages {

        stage ('Build') {
            steps {
@@ -16,7 +47,7 @@ pipeline {
                sh 'yarn build'
            }
        }
    }
    }*/
    post {
        always {
            echo "Done"