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

Fix up comments for the help command #180

Merged
merged 2 commits into from Nov 30, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/scripts/jenkins.coffee
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
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