rd-jobs load requires a project context
Reported by starlatch | May 12th, 2011 @ 05:00 PM | in Rundeck 1.3 (closed)
Hi,
Per the command line help and documentation, a project context (-p) is not needed for loading jobs. The idea is that the project name is included in XML/YAML job specification. However, when I try to load from a file without giving it a project context (-p), it displays the usage.
The command works fine with a project context.
How to reproduce:
$ rd-jobs load -f rd-job-bug.yaml -F yaml
list action: -p/--project option is required
usage: rd-jobs [] [options...]: list Jobs on the server, or upload
Jobs
: : Goes on to print help :
When I specify -p {project_name} as option to the rd-jobs, the command works just fine.
Comments and changes to this ticket
-
Greg Schueler May 16th, 2011 @ 09:48 AM
- Milestone set to Rundeck 1.3
- Milestone order changed from 40 to 0
was this in the 1.3 beta?
if so, the -p requirement for "list" was added recently, so it sounds like a bug introduced with that
-
Deleted User May 16th, 2011 @ 04:49 PM
- State changed from new to resolved
(from [2080905f80e197e781a0644d2905f985028a7f92]) Validate list options only for list action [#288 state:resolved] https://github.com/dtolabs/rundeck/commit/2080905f80e197e781a0644d2...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Referenced by
- 288 rd-jobs load requires a project context (from [2080905f80e197e781a0644d2905f985028a7f92]) Validat...