jenkinsfile-runner icon indicating copy to clipboard operation
jenkinsfile-runner copied to clipboard

Add support of routing STDIN from files in the --cli mode

Open oleg-nenashev opened this issue 5 years ago • 2 comments

It is a follow-up to https://github.com/jenkinsci/jenkinsfile-runner/pull/207 by @xxyy . Currently the Jenkins CLI works well in the interactive mode, but only few commands there actually make sense. We could extend the feature by supporting passing STDIN via a file so that we could get commands like create-job operational inside jenkinsfile runner.

Suggested syntax:

> create-job foo <config.xml
> build foo

Later it can be extended by a create-job flavor which takes Jenkinsfile as an argument, instead XML

oleg-nenashev avatar Nov 06 '19 15:11 oleg-nenashev

can i try working on it?

imrahul361 avatar Nov 29 '19 03:11 imrahul361