Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
6b28b70e
Commit
6b28b70e
authored
12 years ago
by
Calen Pennington
Browse files
Options
Downloads
Patches
Plain Diff
Add jenkins files for builds
parent
90e33867
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
jenkins/quality.sh
+11
-0
11 additions, 0 deletions
jenkins/quality.sh
jenkins/test_edge.sh
+28
-0
28 additions, 0 deletions
jenkins/test_edge.sh
jenkins/test_lms.sh
+26
-0
26 additions, 0 deletions
jenkins/test_lms.sh
with
65 additions
and
0 deletions
jenkins/quality.sh
0 → 100755
+
11
−
0
View file @
6b28b70e
#! /bin/bash
# Reset the submodule, in case it changed
git submodule foreach
'git reset --hard HEAD'
# Set the IO encoding to UTF-8 so that askbot will start
export
PYTHONIOENCODING
=
UTF-8
rake clobber
rake pep8
||
echo
"pep8 failed, continuing"
rake pylint
||
echo
"pylint failed, continuing"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
jenkins/test_edge.sh
0 → 100755
+
28
−
0
View file @
6b28b70e
#! /bin/bash
# Reset the submodule, in case it changed
git submodule foreach
'git reset --hard HEAD'
# Set the IO encoding to UTF-8 so that askbot will start
export
PYTHONIOENCODING
=
UTF-8
GIT_BRANCH
=
${
GIT_BRANCH
/HEAD/master
}
pip
install
-r
pre-requirements.txt
yes
w | pip
install
-r
requirements.txt
[
!
-d
askbot
]
||
pip
install
-r
askbot/askbot_requirements.txt
# Install the latest entry points from xmodule
pip
install
--upgrade
-e
common/lib/xmodule
rake clobber
TESTS_FAILED
=
0
rake test_cms[false]
||
TESTS_FAILED
=
1
rake test_lms[false]
||
TESTS_FAILED
=
1
rake test_common/lib/capa
||
TESTS_FAILED
=
1
rake test_common/lib/xmodule
||
TESTS_FAILED
=
1
rake phantomjs_jasmine_lms
||
true
rake phantomjs_jasmine_cms
||
true
[
$TESTS_FAILED
==
'0'
]
rake autodeploy_properties
\ No newline at end of file
This diff is collapsed.
Click to expand it.
jenkins/test_lms.sh
0 → 100755
+
26
−
0
View file @
6b28b70e
#! /bin/bash
# Reset the submodule, in case it changed
git submodule foreach
'git reset --hard HEAD'
# Set the IO encoding to UTF-8 so that askbot will start
export
PYTHONIOENCODING
=
UTF-8
GIT_BRANCH
=
${
GIT_BRANCH
/HEAD/master
}
pip
install
-r
pre-requirements.txt
yes
w | pip
install
-r
requirements.txt
[
!
-d
askbot
]
||
pip
install
-r
askbot/askbot_requirements.txt
# Install the latest entry points from xmodule
pip
install
--upgrade
-e
common/lib/xmodule
rake clobber
TESTS_FAILED
=
0
rake test_lms[false]
||
TESTS_FAILED
=
1
rake test_common/lib/capa
||
TESTS_FAILED
=
1
rake test_common/lib/xmodule
||
TESTS_FAILED
=
1
rake phantomjs_jasmine_cms
||
true
[
$TESTS_FAILED
==
'0'
]
rake autodeploy_properties
\ No newline at end of file
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