LoginSignup
0
0

More than 3 years have passed since last update.

jenkinsをcurl経由で呼び出す方法

Last updated at Posted at 2020-06-26

こんなことがあったので

jenkinsを実行した後、コンソールログを確認したいけど、html上だと重いので、
ダウンロードしてログが見たいと思った。
jenkinsはユーザ認証がある

実行方法

curl -s -u user:pass http://<jenkins_url>/view/<jobまでのパス>/job/<job_name>/<job_num>/consoleText > <出力したいファイル名>.txt
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0