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
90723bb5
Commit
90723bb5
authored
10 years ago
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset the jenkins ruby environment before tests run
parent
0b8cc25b
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 @
90723bb5
...
@@ -51,6 +51,13 @@ mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSibli
...
@@ -51,6 +51,13 @@ mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSibli
# not already be fetched.
# not already be fetched.
git fetch origin master:refs/remotes/origin/master
git fetch origin master:refs/remotes/origin/master
# Reset the jenkins worker's ruby environment back to
# the state it was in when the instance was spun up.
if
[
-e
$HOME
/edx-rbenv_clean.tar.gz
]
;
then
rm
-rf
$HOME
/.rbenv
tar
-C
$HOME
-xf
$HOME
/edx-rbenv_clean.tar.gz
fi
# Bootstrap Ruby requirements so we can run the tests
# Bootstrap Ruby requirements so we can run the tests
bundle install
bundle install
...
...
This diff is collapsed.
Click to expand it.
jenkins/all-tests.sh
View file @
90723bb5
...
@@ -59,6 +59,13 @@ mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSibli
...
@@ -59,6 +59,13 @@ mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSibli
# not already be fetched.
# not already be fetched.
git fetch origin master:refs/remotes/origin/master
git fetch origin master:refs/remotes/origin/master
# Reset the jenkins worker's ruby environment back to
# the state it was in when the instance was spun up.
if
[
-e
$HOME
/edx-rbenv_clean.tar.gz
]
;
then
rm
-rf
$HOME
/.rbenv
tar
-C
$HOME
-xf
$HOME
/edx-rbenv_clean.tar.gz
fi
# Bootstrap Ruby requirements so we can run the tests
# Bootstrap Ruby requirements so we can run the tests
bundle install
bundle install
...
...
This diff is collapsed.
Click to expand it.
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