Loading Jenkinsfile 0 → 100644 +43 −0 Original line number Diff line number Diff line pipeline { agent { node { // agentes ???? label 'fm-node-lts' } } options { timeout(time: 30, unit: 'MINUTES') } environment { } stages { stage ('Build') { steps { echo 'build' sh 'yarn build' } } stage ('Test') { steps { echo 'test' sh 'yarn test' } } } 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 0 → 100644 +43 −0 Original line number Diff line number Diff line pipeline { agent { node { // agentes ???? label 'fm-node-lts' } } options { timeout(time: 30, unit: 'MINUTES') } environment { } stages { stage ('Build') { steps { echo 'build' sh 'yarn build' } } stage ('Test') { steps { echo 'test' sh 'yarn test' } } } 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']] } } }