Loading Jenkinsfile +8 −21 Original line number Diff line number Diff line Loading @@ -8,18 +8,16 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } environment { /*environment { branch = 'continuous-integration' scmUrl = 'https://github.com/Telefonica/pesp_capif_backoffice_frontend_v2.git' } }*/ stages { stage('build') { stage ('Dependecies') { steps { echo 'Installing Dependencies' sh 'yarn install' //echo 'Building NextJS App' //sh 'node_modules/next/dist/bin/next build' } } stage ('Build') { Loading @@ -29,26 +27,15 @@ pipeline { } } } /*stages { stage ('Build') { stage('Artifact') { steps { echo 'build' sh 'yarn build' archiveArtifacts artifacts: '**/build/*' } } }*/ post { always { echo "Done" // emailext body: '''${SCRIPT, template="groovy-html.template"}''', // mimeType: 'text/html', // subject: "Jenkins Build ${currentBuild.currentResult}: Job ${env.JOB_NAME}", // from: 'jenkins-futme@tid.es', // to: "futmedia.tid@telefonica.com", // replyTo: "no-reply@tid.es", // recipientProviders: [[$class: 'CulpritsRecipientProvider']] } } } Loading
Jenkinsfile +8 −21 Original line number Diff line number Diff line Loading @@ -8,18 +8,16 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } environment { /*environment { branch = 'continuous-integration' scmUrl = 'https://github.com/Telefonica/pesp_capif_backoffice_frontend_v2.git' } }*/ stages { stage('build') { stage ('Dependecies') { steps { echo 'Installing Dependencies' sh 'yarn install' //echo 'Building NextJS App' //sh 'node_modules/next/dist/bin/next build' } } stage ('Build') { Loading @@ -29,26 +27,15 @@ pipeline { } } } /*stages { stage ('Build') { stage('Artifact') { steps { echo 'build' sh 'yarn build' archiveArtifacts artifacts: '**/build/*' } } }*/ post { always { echo "Done" // emailext body: '''${SCRIPT, template="groovy-html.template"}''', // mimeType: 'text/html', // subject: "Jenkins Build ${currentBuild.currentResult}: Job ${env.JOB_NAME}", // from: 'jenkins-futme@tid.es', // to: "futmedia.tid@telefonica.com", // replyTo: "no-reply@tid.es", // recipientProviders: [[$class: 'CulpritsRecipientProvider']] } } }