Add token init cmd to add new server cfg 11/12511/11
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 8 Sep 2018 19:52:01 +0000 (15:52 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 18 Sep 2018 15:09:49 +0000 (11:09 -0400)
commit698a8bbb93d65158a5ffe4bf6a13a0445a56feac
tree52f8c6ba8fa95ecd65f2ce45852d6b0e5ecefbc3
parent51fe465bee050dae5a02ee7e07bba978cc5d4ea3
Add token init cmd to add new server cfg

New token init command to automatically fetch API token and add new
server configuration section into jenkins_jobs.ini. This file should
already exist. This cmd uses the globally configured user credentials
in lftools.ini to initialize the new Jenkins server configuration.

Change-Id: I3d4bb0fd5696fd1bbeb26eb7d609bab5e064ba92
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools/cli/jenkins/token.py
releasenotes/notes/jenkins-token-init-4af337e4d79939f1.yaml [new file with mode: 0644]