From d087f4e3efcfe9a4c3eb01f021223fd60d76d86c Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 26 Jan 2021 15:10:30 +0100 Subject: [PATCH] reactivate e2e tests --- Jenkinsfile | 60 ++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2b7377ae3a..fbf60bcce7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -107,36 +107,36 @@ pipeline { } } - // stage('E2E-Test') { - // when { - // branch 'master' - // } - // steps { - // script { - // FAILED_STAGE=env.STAGE_NAME - // } - // container("cypress"){ - // sh 'npm --version' - // dir('goofy-client') { - // sh 'npm install' - // sh 'npm run cypress:version' - // sh 'npm run cypress:ci-run' - // } - // } - // } - // post { - // always { - // publishHTML (target: [ - // allowMissing: false, - // alwaysLinkToLastBuild: false, - // keepAll: true, - // reportDir: 'goofy-client/apps/goofy-e2e/reports', - // reportFiles: 'report.html', - // reportName: "Goofy E2E-Tests" - // ]) - // } - // } - // } + stage('E2E-Test') { + when { + branch 'master' + } + steps { + script { + FAILED_STAGE=env.STAGE_NAME + } + container("cypress"){ + sh 'npm --version' + dir('goofy-client') { + sh 'npm install' + sh 'npm run cypress:version' + sh 'npm run cypress:ci-run' + } + } + } + post { + always { + publishHTML (target: [ + allowMissing: false, + alwaysLinkToLastBuild: false, + keepAll: true, + reportDir: 'goofy-client/apps/goofy-e2e/reports', + reportFiles: 'report.html', + reportName: "Goofy E2E-Tests" + ]) + } + } + } stage('Openshift deploy') { when { -- GitLab