jenkinsci/jenkinsfile-runner

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

Open

#225 geöffnet am 6. Nov. 2019

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (291 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (1.090 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 47T 2h) (3 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide