1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

jenkinsのJOBをAPI経由でたたいて`HTTP ERROR 403 No valid crumb was included in the request`の場合はapi tokenを発行する必要がありそう。という備忘録

Posted at

jenkinsのJOBをAPI経由でたたいてHTTP ERROR 403 No valid crumb was included in the requestの場合はapi tokenを発行する必要がありそう。という備忘録
(PASSWORD方式も過去には存在していたが、最近はサポートされていない?ためか少なくともdeprecatedとなっている)

curl -X POST -L --user your-user-name:apiToken https://jenkins.example.com/job/your_job/build
wget --auth-no-challenge --user=user --password=apiToken http://jenkins.example.com/job/your_job/build

jenkinsのapi token作成は以下が分かりやすい
(ログイン→ユーザ設定→アクセストークン)

参考

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?