Skip to content

Instantly share code, notes, and snippets.

@wilfrem
Last active December 20, 2015 14:49
Show Gist options
  • Save wilfrem/6149336 to your computer and use it in GitHub Desktop.
Save wilfrem/6149336 to your computer and use it in GitHub Desktop.
Linux上でJenkins+mono+NuGet.exeを動かすためのメモ
まずはJenkinsの設定でmsbuildのパスとしてxbuildのパスを教える
NuGetを動かすためにはMicrosoft.Build.dllが必要なのでダウンロードしてNuGet.exeに置く
http://headsigned.com/article/running-nuget-command-line-on-linux
(libmono-microsoft-build*ではダメだったので、多分バージョン違いかDLL違いかと。。。)
環境変数EnableNuGetPackageRestoreをtrueに設定する
mozroots --import --ask-remove を実行し、mozillaの証明書をmonoにインストール
VisualStudioの.nuget/Nuget.targetsにはLinux等で動かないバグがあるので
http://nuget.codeplex.com/workitem/3435 を参考に修正する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment