jenkinsci/jenkinsfile-runner

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

Open

#225 aberto em 6 de nov. de 2019

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Java (291 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (1.090 stars)
Métricas de merge de PR
 (Mesclagem média 47d 2h) (3 fundiu PRs em 30d)

Description

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

Guia do colaborador