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
d4cdd5b4
Commit
d4cdd5b4
authored
Dec 07, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make jenkins talk to the github status api
parent
61c17cab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
jenkins/base.sh
+13
-0
jenkins/test_edge.sh
+6
-2
jenkins/test_lms.sh
+9
-2
No files found.
jenkins/base.sh
0 → 100644
View file @
d4cdd5b4
function
github_status
{
gcli status create mitx mitx
$GIT_COMMIT
\
--params
=
$1
\
target_url:
$BUILD_URL
\
description:
"Build #
$BUILD_NUMBER
is running"
\
-f
csv
}
function
github_mark_failed_on_exit
{
trap
'[ $? == "0" ] || github_status state:failed'
EXIT
}
\ No newline at end of file
jenkins/test_edge.sh
View file @
d4cdd5b4
...
...
@@ -3,6 +3,9 @@
set
-e
set
-x
github_mark_failed_on_exit
github_status state:pending
# Reset the submodule, in case it changed
git submodule foreach
'git reset --hard HEAD'
...
...
@@ -26,4 +29,6 @@ rake phantomjs_jasmine_cms || true
rake coverage:xml coverage:html
[
$TESTS_FAILED
==
'0'
]
rake autodeploy_properties
\ No newline at end of file
rake autodeploy_properties
github_status state:success
jenkins/test_lms.sh
View file @
d4cdd5b4
...
...
@@ -3,6 +3,12 @@
set
-e
set
-x
.
base.sh
github_mark_failed_on_exit
github_status state:pending
# Reset the submodule, in case it changed
git submodule foreach
'git reset --hard HEAD'
...
...
@@ -24,4 +30,6 @@ rake phantomjs_jasmine_lms || true
rake coverage:xml coverage:html
[
$TESTS_FAILED
==
'0'
]
rake autodeploy_properties
\ No newline at end of file
rake autodeploy_properties
github_status state:success
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