Skip to content

Support multiple jenkins instances in one config file #36

Description

@radomirbosak

Suggested syntax:

$ cat ~/.jenkins-cli[local]host=http://localhost:8080/username=radopassword=mypassword[stage]host=http://jenkins-stage.example.com/username=radopassword=myotherpassword[prod]host=http://jenkins-prod.example.com/username=produserpassword=mydifferentpassword

And then use

$ jenkins jobs --environment prod

or simply

$ jenkins jobs -e prod

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions