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.
我正在创建 bash 文件,我只想在其中访问 Jenkins 的一个环境变量,即 GIT_COMMIT。
$GIT_COMMIT 应该可以从您的“执行 shell”构建步骤中获得。