Skip to content

Commit d5f7b1a

Browse files
author
valentinab25
committed
[JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967
1 parent 7b5a8ef commit d5f7b1a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pipeline {
66
NAMESPACE = "@eeacms"
77
SONARQUBE_TAGS = "clms.land.copernicus.eu,demo.eea.europa.eu"
88
DEPENDENCIES = ""
9+
VOLTO = "alpha"
910
}
1011

1112
stages {
@@ -124,8 +125,8 @@ pipeline {
124125
node(label: 'docker') {
125126
script {
126127
try {
127-
sh '''docker pull plone; docker run -d --rm --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="profile-plone.restapi:blocks" plone fg'''
128-
sh '''docker pull plone/volto-addon-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e NAMESPACE="$NAMESPACE" -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" -e NODE_ENV=test plone/volto-addon-ci cypress'''
128+
sh '''docker pull eeacms/plone-backend; docker run -d --rm --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="eea.kitkat:testing" eeacms/plone-backend'''
129+
sh '''docker pull plone/volto-addon-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e NAMESPACE="$NAMESPACE" -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" -e NODE_ENV=test -e NODE_ENV=development -e VOLTO="$VOLTO" plone/volto-addon-ci cypress'''
129130
} finally {
130131
try {
131132
sh '''rm -rf cypress-reports cypress-results cypress-coverage'''

cypress/support/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ coverage-end */
2727
export const setupBeforeEach = () => {
2828
cy.autologin();
2929
cy.createContent({
30-
contentType: 'Folder',
30+
contentType: 'Document',
3131
contentId: 'cypress',
3232
contentTitle: 'Cypress',
3333
});

0 commit comments

Comments
 (0)