Cannot Save Script or SSH Task Containing chmod
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
When creating a script task or SSH task in a build plan, if the inline script includes a chmod command like chmod +x <filename>, saving the task command results in an error.

No errors appear in the logs, failure appears to be client side. Validate this by confirming no errors are present in atlassian-bamboo.log or by generating a HAR file.
原因
A firewall is blocking "unsafe" text strings from being sent through to the server. "chmod +x" is being detected as potentially unsafe or malicious, and the firewall is preventing the client (web browser) from sending this information through to the Bamboo server
ソリューション
ソリューション
Configure exceptions in firewall for Bamboo
この内容はお役に立ちましたか?