Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
7852906c
Commit
7852906c
authored
10 years ago
by
Jay Zoldak
Committed by
Calen Pennington
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Reset the jenkins python virtualenv before test runs.
parent
d78dd92c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jenkins/acceptance.sh
+7
-0
7 additions, 0 deletions
jenkins/acceptance.sh
jenkins/all-tests.sh
+7
-0
7 additions, 0 deletions
jenkins/all-tests.sh
with
14 additions
and
0 deletions
jenkins/acceptance.sh
+
7
−
0
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
...
...
This diff is collapsed.
Click to expand it.
jenkins/all-tests.sh
+
7
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment