Bug 1142714

Summary: bkr job-submit should read from stdin when no positional arguments are given
Product: [Retired] Beaker Reporter: Jakub Prokes <jprokes>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.18CC: aigao, asaha, dcallagh, jzhao, rmancy
Target Milestone: 19.0Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-25 07:18:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Dan Callaghan 2014-09-17 22:54:46 UTC
(In reply to Jakub Prokes from comment #0)
> $ bkr job-submit --xml --wait  < job1.xml

bkr job-submit doesn't read from stdin unless you give it - as an argument.

It should probably read from stdin if no args are given, instead of "successfully" submitting no jobs (and then barfing when it tries to watch no jobs).

Comment 2 Dan Callaghan 2014-09-19 02:52:09 UTC
http://gerrit.beaker-project.org/3340

Comment 5 Dan Callaghan 2014-11-25 07:18:48 UTC
Beaker 19.0 has been released.