Skip to content

Commit

Permalink
Refs #88509 Add dependency mock for plone4 jenkins test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Petchesi-Iulian committed Sep 28, 2017
1 parent 290bfdf commit 74cca67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -38,7 +38,7 @@ pipeline {
node(label: 'docker-1.13') {
script {
try {
sh '''docker run -i --net=host --name="$BUILD_TAG-plone4" -v /plone/instance/parts -e GIT_BRANCH="$BRANCH_NAME" -e ADDONS="$GIT_NAME" -e DEVELOP="src/$GIT_NAME" eeacms/plone-test:4 -v -vv -s $GIT_NAME'''
sh '''docker run -i --net=host --name="$BUILD_TAG-plone4" -v /plone/instance/parts -e GIT_BRANCH="$BRANCH_NAME" -e ADDONS="${GIT_NAME}[test]" -e DEVELOP="src/$GIT_NAME" eeacms/plone-test:4 -v -vv -s $GIT_NAME'''
} finally {
sh '''docker rm -v $BUILD_TAG-plone4'''
}
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Expand Up @@ -27,5 +27,10 @@
install_requires=[
'eventlet',
],
extras_require={
'test': [
'mock',
]
},

)

0 comments on commit 74cca67

Please sign in to comment.