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.
構成でJenkinsジョブ名を使用したい:
ここで使用できるトークンはありますか?
SCMの場合、答えは「はい」です。$ {JOB_NAME}を使用します(例svn://myserver/myrepo/trunk/${JOB_NAME})。
svn://myserver/myrepo/trunk/${JOB_NAME}
Mavenビルドステップでは機能しません。ただし、回避策として$ {JOB_NAME}(例C:\workspaces\${JOB_NAME})を含むカスタムワークスペース([ビルド]の下の[詳細設定]ボタンを押して[カスタムワークスペースを使用]をオンにする)を使用してみてください。
C:\workspaces\${JOB_NAME}