Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #180 from lackac/patch-1
Browse files Browse the repository at this point in the history
Fix up comments for the help command
  • Loading branch information
tombell committed Nov 30, 2011
2 parents e0044b7 + f7dbdd5 commit 62e96d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/scripts/jenkins.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
# HUBOT_JENKINS_URL = "http://ci.example.com:8080"
#
# The following variables are optional
# HUBOT_JENKINS_JOB - if not set you will have to specify job name every time
# HUBOT_JENKINS_BRANCH_PARAMETER_NAME - if not set is assumed to be BRANCH_SPECIFIER
# HUBOT_JENKINS_JOB: if not set you will have to specify job name every time
# HUBOT_JENKINS_BRANCH_PARAMETER_NAME: if not set is assumed to be BRANCH_SPECIFIER
#
# build branch master -- starts a build for branch origin/master
# build branch master on job Foo -- starts a build for branch origin/master on job Foo
# build branch master - starts a build for branch origin/master
# build branch master on job Foo - starts a build for branch origin/master on job Foo
module.exports = (robot) ->
robot.respond /build\s*(branch\s+)?([\w\d\-\/]+)(\s+(on job)?\s*(\w+))?/i, (msg)->

Expand Down
2 changes: 0 additions & 2 deletions src/scripts/roll.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# # => rolled a 99 of 100
# roll 6
# # => rolled a 5 of 6
# roll 100-105
# # => rolled a 104 of 105
#
module.exports = (robot) ->
robot.respond /(roll)\s?(\d+)?-?(\d+)?/i, (msg) ->
Expand Down

0 comments on commit 62e96d5

Please sign in to comment.