2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

JenkinsでUnityのバージョンをパラメータとして指定する

2
Last updated at Posted at 2016-06-04

UnityのバージョンをJenkins上で指定したい

Unityであるバージョンでは動くけど別バージョンだと動かないっていう需要はあると思います。
そんな時にUnityのバージョンを指定してビルドしたいなーってことがあると思うのでそのやり方について

(ちなみにこの方法UnityじゃなくてもほかのGlobal Tool Configurationとかでインストールパス設定するやつ(mavenとか)でもたぶんいけます試してないけど)

前提

Unityのプラグイン入れておいてください。

Unityの設定

Unityのインストールパスをこんな感じで設定します。

スクリーンショット 2016-06-04 14.04.25.png

でジョブ側はこんな感じでパラメータ設定してあげればおしまいです。(ほかの環境変数を作成する方法でも構いません。)
スクリーンショット 2016-06-04 14.09.57.png

UnityはCustomVersionを指定してくださいね。

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?