jenkinsci/jenkins.rb

command build job does't work with credentials

nordringrayhide opened this issue · 1 comments

bin/jenkins build foo --host jenkins.example.com --port 8080 --username jenkins --password pass

respond with 401 error

yyuu commented

The problem around credential handling has seems to be fixed in jenkins gem 0.6.8.

% jenkins --version
0.6.8
% jenkins list --ssl --host jenkins.example.com --username ${USERNAME} --password ${PASSWORD}
https://jenkins.examples.com:
* job1
* job2

However, it might be still not working because Jenkins' build Web API has being changed....