RDTK / generator

A tool for creating Jenkins jobs and other things from recipes describing software projects
GNU General Public License v3.0
21 stars 3 forks source link

install-jenkins mandatory user/pass/email #22

Closed LeroyR closed 5 years ago

LeroyR commented 5 years ago

Which generator version are you using?

build-generator version
build-generator 0.28.57
asdf            3.3.1
SBCL            1.5.0.0.sbcl-1.5.0.0-14477ff

What did you do?

  1. Generator configuration and invocation
    build-generator install-jenkins --username jenkins --pass abc jk
    [####################] 100.00 % INSTALL/CORE
    [####################] 100.00 % INSTALL/PLUGIN
    [####################] 100.00 % INSTALL/CONFIG-FILE

Which behavior did you expect?

  1. Jenkins installed with user jenkins:abc
  2. Error message "missing email"

What happened instead?

  1. Jenkins has no user
  2. Jenkins is installed without error Compare create-jenkins-user output:
    build-generator-hack create-jenkins-user --username jenkins --password abc jk                  1 ↵
    The following option is mandatory for the "create-jenkins-user" context but has
    not been supplied: --email=EMAIL-ADDRESS.