LoginSignup
0
0

More than 5 years have passed since last update.

Jenkinsでビルドをmvnw(maven wrapper)で行う

Last updated at Posted at 2018-05-16

はじめに

やるのは簡単なのですが、メモ残しです

環境

どのOSでも同じ

ジョブの設定

・新規ジョブ作成 -> フリースタイル・プロジェクトのビルドからジョブの作成を行う
・ビルドの「ビルドの手順」からOSに合ったものを選択する
Windows -> Windowsバッチコマンドの実行
Mac Linux -> シェルの実行
・コマンドにmvnwコマンドを書いて終わり!
Windows Mac Linux -> ./mvnw clean compile

最後に

gradleでも同じこと出来ます。

どうでもいいけどWindowsってやっぱ色々面倒くさいですね。

0
0
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
0
0