Skip to content

Support multiple jenkins instances in one config file #36

Closed

Description

@radomirbosak

Suggested syntax:

$ cat ~/.jenkins-cli
[local]
host=http://localhost:8080/
username=rado
password=mypassword

[stage]
host=http://jenkins-stage.example.com/
username=rado
password=myotherpassword

[prod]
host=http://jenkins-prod.example.com/
username=produser
password=mydifferentpassword

And then use

$ jenkins jobs --environment prod

or simply

$ jenkins jobs -e prod

Activity

  1. added 4 commits that reference this issue on Jun 1, 2017
    6368666
    e9147f3
    677588d
    bf78531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions