Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
configuration
Commits
12009b01
Commit
12009b01
authored
Jun 23, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print all hipchat messages to jenkins as well.
Also use the proper return code when abbey has issues.
parent
965e7c25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
util/vpc-tools/abbey.py
+5
-0
No files found.
util/vpc-tools/abbey.py
View file @
12009b01
...
...
@@ -647,6 +647,7 @@ def launch_and_configure(ec2_args):
def
send_hipchat_message
(
message
):
print
(
message
)
#If hipchat is configured send the details to the specified room
if
args
.
hipchat_api_token
and
args
.
hipchat_room_id
:
import
hipchat
...
...
@@ -710,6 +711,7 @@ if __name__ == '__main__':
else
:
base_ami
=
args
.
base_ami
error_in_abbey_run
=
False
try
:
sqs_queue
=
None
instance_id
=
None
...
...
@@ -749,6 +751,7 @@ if __name__ == '__main__':
play
=
args
.
play
,
exception
=
repr
(
e
))
send_hipchat_message
(
message
)
error_in_abbey_run
=
True
finally
:
print
if
not
args
.
no_cleanup
and
not
args
.
noop
:
...
...
@@ -761,3 +764,5 @@ if __name__ == '__main__':
# Check to make sure we have an instance id.
if
instance_id
:
ec2
.
terminate_instances
(
instance_ids
=
[
instance_id
])
if
error_in_abbey_run
:
exit
(
1
)
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