From cc661bd19f1a286c99854b501f5cc19439f2fdd5 Mon Sep 17 00:00:00 2001 From: valentinab25 <30239069+valentinab25@users.noreply.github.com> Date: Fri, 24 Sep 2021 12:44:58 +0300 Subject: [PATCH] do not run integration tests on PR --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1baf4af7..6323f54d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,11 @@ pipeline { parallel { stage('Cypress') { steps { - node(label: 'docker') { + when { + environment name: 'CHANGE_ID', value: '' + } + } + node(label: 'docker') { script { try { sh '''docker pull plone; docker run -d --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="profile-plone.restapi:blocks" plone fg'''