Created
March 9, 2011 13:33
-
-
Save tyuki39/862188 to your computer and use it in GitHub Desktop.
Jenkinsで動作中のプロジェクト自身を取得する方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 動作中のプロジェクト自身を取得する方法 | |
// 以下は groovy plugin の Execute system Groovy script の中で使用して | |
// groovy plugin自体を実行しているプロジェクトを取得する例 | |
def currentJob = Thread.currentThread().executable.project | |
println currentJob.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment