Skip to content

Commit

Permalink
Accept username/passwd as command line arguments in 'buildbot statuslog'
Browse files Browse the repository at this point in the history
  • Loading branch information
krajaratnam committed Feb 11, 2010
1 parent 6fbe636 commit 5eaeb61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion buildbot/scripts/runner.py
Expand Up @@ -735,6 +735,8 @@ class StatusClientOptions(OptionsWithOptionsFile):
optParameters = [
["master", "m", None,
"Location of the buildmaster's status port (host:port)"],
["username", "u", "statusClient", "Username performing the trial build"],
["passwd", None, "clientpw", "password for PB authentication"],
]
buildbotOptions = [
[ 'masterstatus', 'master' ],
Expand All @@ -752,7 +754,9 @@ def statuslog(config):
if master is None:
raise usage.UsageError("master must be specified: on the command "
"line or in ~/.buildbot/options")
c = base.TextClient(master)
passwd = config.get('passwd')
username = config.get('username')
c = base.TextClient(master, username=username, passwd=passwd)
c.run()

def statusgui(config):
Expand Down

0 comments on commit 5eaeb61

Please sign in to comment.