LoginSignup
3
4

More than 5 years have passed since last update.

Unityでwarningがあったらjenkinsでエラー通知する

Posted at

warningをエラー扱いにする

以下のようにビルド前にAssetsフォルダ下に warnerror+ な .rsp ファイルを置いておく

echo "-warnaserror+" > $WORKSPACE/Assets/gmcs.rsp
echo "-warnaserror+" > $WORKSPACE/Assets/smcs.rsp

jenkins_unity.png

.rsp ファイルについてはこちら

参考

http://qiita.com/kyubuns/items/9c1059bf38f864bd63fa
http://qiita.com/kyubuns/items/cf6e410c21c1d9a0ef18

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4