0
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 3 years have passed since last update.

Jenkins を導入する on macOS (Big Sur)

Posted at

Jenkins (LTS) を install

brew install jenkins-lts

Jenkins を (ひとまず) 起動する

brew services start jenkins-lts

指示に従って、unlock & plugin installation

まぁここまでで何も問題はなかった

troubleshooting

git-lfs がないっていわれる

stderr: git-lfs filter-process --skip: git-lfs: command not found

こういう message. これに関してはいろんな解決方法がwebにはあるんだけど、一番簡単に済ませたかったので、以下の方法をここではリコメンドする。
そもそもの原因は、git-lfs が /usr/bin ではなく /usr/local/bin にあるため。なので、Jenkins自体のpath設定に/usr/local/bin を含めることを大方針とする。
ということで、このコメントを参照
Dashboard > Manage Jenkins > Manage Nodes and Clouds > (select a node) > Configure > Node Properties > turn on Environment variables
PATHの設定を追加。以上で git lfs も通るようになりました。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?