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
7852906c
Commit
7852906c
authored
Apr 28, 2014
by
Jay Zoldak
Committed by
Calen Pennington
May 05, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset the jenkins python virtualenv before test runs.
parent
d78dd92c
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 @
7852906c
...
...
@@ -54,6 +54,13 @@ git fetch origin master:refs/remotes/origin/master
# Bootstrap Ruby requirements so we can run the tests
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
source
$HOME
/edx-venv/bin/activate
...
...
jenkins/all-tests.sh
View file @
7852906c
...
...
@@ -62,6 +62,13 @@ git fetch origin master:refs/remotes/origin/master
# Bootstrap Ruby requirements so we can run the tests
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
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