Permalink
Browse files

Add -p/--pending flag to build command.

  • Loading branch information...
1 parent 1f3aef7 commit cead6595b4699d125e9142259f3a776abf3f1b8c @cliffano committed Apr 3, 2013
Showing with 8 additions and 4 deletions.
  1. +1 −0 CHANGELOG.md
  2. +5 −0 README.md
  3. +2 −4 conf/commands.json
View
@@ -3,6 +3,7 @@
* Add feed command
* Add jenkins#monitor and ninja command
* Add jenkins#consoleStream (Whyme Lyu)
+* Add -p/--pending flag to build command
### 0.1.1
* Move status colouring to cli so that when lib/jenkins is used programatically then it gets plain uncoloured text
View
@@ -25,6 +25,11 @@ Trigger a build followed by console output:
nestor build --console <job>
+Trigger a build, wait for 5 seconds, then display console output:
+(handy for builds that don't immediately display anything to console output)
+
+ nestor build --pending 5000 --console <job>
+
Display latest build console output:
nestor console <job>
View
@@ -3,10 +3,8 @@
"build": {
"desc": "Trigger a build with optional parameters\nUsage: nestor build [-c/--console] <job> [\"param1=value1&param2=value2\"]",
"options": [
- {
- "arg": "-c, --console",
- "desc": "Display console output of the triggered build progress"
- }
+ { "arg": "-c, --console", "desc": "Display console output of the triggered build progress" },
+ { "arg": "-p, --pending <pending>", "desc": "Pending time (in milliseconds) before displaying console output, default: 5000" }
]
},
"console": {

0 comments on commit cead659

Please sign in to comment.