Created
May 21, 2012 13:22
-
-
Save ikikko/2762287 to your computer and use it in GitHub Desktop.
Jenkinsのジョブ失敗時にビルドを保存するスクリプト(Groovy Postbuild Plugin用)
This file contains 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
if (manager.build.result.isWorseOrEqualTo(hudson.model.Result.UNSTABLE)) { | |
manager.listener.logger.println("ビルドを保存します") | |
manager.build.keepLog() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment