cliffano / nestor

Jenkins CLI and node.js client
http://blog.cliffano.com/tag/nestor/
MIT License
181 stars 27 forks source link

Allow --console flag to be used with parameterized builds #35

Closed erquhart closed 8 years ago

erquhart commented 8 years ago

All of our builds are parameterized, so we have to do:

nestor build <job> <params> && nestor console <job>

Have you considered allowing parameterized builds to just use the --console flag?

thisgeek commented 8 years ago

Did you try this?

nestor build <job> <params> --console
erquhart commented 8 years ago

Yep, that works.

cliffano commented 8 years ago

@thisgeek Thanks for that. I've updated the readme and help menu with that example https://github.com/cliffano/nestor/commit/ced7ccbd360599c888e6e24b27d59feb590dacea .

@erquhart What version of nestor and Jenkins are you using? What command line did you use when it didn't work? And did you get any error message or no output?

From memory, nestor build --console <job> <params> used to work, so it could be changes in commander module ever since that made opt needs to be at the end if there's an optional command arg.

cliffano commented 8 years ago

Closing this issue for now since the original problem was solved. Still interested to learn about the error message/output when the original problem occurred.