ohkillo.blogg.se

5.5 visual studio code unity
5.5 visual studio code unity






SonarQube Scanner for MSBuild - End Analysis.I haven't yet tried replacing that with an environment variable defined in the user-facing Jenkins job. You may need to change client\client.sln above to match your environment.Įxecute Windows batch command "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /maxcpucount /nr:false /nologo /target:rebuild /verbosity:quiet client\client.sln > %FILENAME% ECHO public static class SQMenuItems. REM Yes, this syntax works and is sooo much more readable Properties Content contains `LANG=en_US.UTF-8`Įxecute Windows batch command contains set FILENAME=%WORKSPACE%\client\Assets\Editor\SQMenuItems.cs General-Restrict where this project can be run checked and set to your SonarQube server.īuild Environment-Inject environment variables to the build process checked.Archive the artifacts-Files to archive set to log.zip.Ī non-user-facing Jenkins job ( SonarQube_Scanner) with the following settings and options.Use builders from another project-Template Project pointing to the same Jenkins job SonarQube_Scanner.Mine is called SonarQube_Scanner (see below). Use build environment from another project-Template Project pointing to a second Jenkins job.You'll need to put your git private key in %HOME%\.ssh that is documented elsewhere and left as an exercise to the reader. This environment variable makes it possible for git to find the correct ssh credentials to use with the Git server. Run buildstep before SCM runs-Inject environment variables set to HOME=C:\Users\Jenkins (or as appropriate for your system).Poll SCM checked, but no schedule specified.

5.5 visual studio code unity 5.5 visual studio code unity

#5.5 visual studio code unity update

Additional Behaviors-Recursively update submodules checked as appropriate for your repository.Branches to build set to the main branch, i.e.Repository URL set to the repository you want to analyze.General-Restrict where this project can be run set to the Jenkins build node name you used for your SonarQube server.Here is the procedure I have developed for analyzing Unity projects in SonarQube via Jenkins.Ī user-facing Jenkins job with the following settings and options, among others specific to my environment.






5.5 visual studio code unity