Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bitnami Jenkins VM を使用していますが、Jenkins が実行されているユーザーを確認するにはどうすればよいですか? Tomcatだと思います。
GUI にアクセスできる場合は、「manage jenkins」>「system information」に移動して、「user.name」を探すことができます。
プロセスの uid を取得するために使用psし、/etc/passwd でそれを grep します。
ps
「whoami」コマンドを使用して、シェル スクリプト ボックスを含む Jenkins ジョブを作成することもできます。