Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a4edd44f
Commit
a4edd44f
authored
Apr 30, 2014
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3498 from edx/zoldak/jenkins-reset-venv
Reset the jenkins python virtualenv before test runs.
parents
c5ef1255
dddac0b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
jenkins/acceptance.sh
+7
-0
jenkins/all-tests.sh
+7
-0
No files found.
jenkins/acceptance.sh
View file @
a4edd44f
...
@@ -54,6 +54,13 @@ git fetch origin master:refs/remotes/origin/master
...
@@ -54,6 +54,13 @@ git fetch origin master:refs/remotes/origin/master
# Bootstrap Ruby requirements so we can run the tests
# Bootstrap Ruby requirements so we can run the tests
bundle install
bundle install
# Reset the jenkins worker's virtualenv back to the
# state it was in when the instance was spun up.
if
[
-e
$HOME
/edx-venv_clean.tar.gz
]
;
then
rm
-rf
$HOME
/edx-venv
tar
-C
$HOME
-xf
$HOME
/edx-venv_clean.tar.gz
fi
# Activate the Python virtualenv
# Activate the Python virtualenv
source
$HOME
/edx-venv/bin/activate
source
$HOME
/edx-venv/bin/activate
...
...
jenkins/all-tests.sh
View file @
a4edd44f
...
@@ -62,6 +62,13 @@ git fetch origin master:refs/remotes/origin/master
...
@@ -62,6 +62,13 @@ git fetch origin master:refs/remotes/origin/master
# Bootstrap Ruby requirements so we can run the tests
# Bootstrap Ruby requirements so we can run the tests
bundle install
bundle install
# Reset the jenkins worker's virtualenv back to the
# state it was in when the instance was spun up.
if
[
-e
$HOME
/edx-venv_clean.tar.gz
]
;
then
rm
-rf
$HOME
/edx-venv
tar
-C
$HOME
-xf
$HOME
/edx-venv_clean.tar.gz
fi
# Activate the Python virtualenv
# Activate the Python virtualenv
source
$HOME
/edx-venv/bin/activate
source
$HOME
/edx-venv/bin/activate
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment