MSBuild plugin configuration in not available in Jenkins Configuration page - jenkins

I have installed MSBuild plugin for jenkins using plugin management. It was installed successfully and I am able to see the options for MSBuild in Job configuration page.
But, unfortunately I am not able to see MSBuild section in Jenkins configuration page. I need to provide the path for MSBuild.exe in that section.
Any idea why?
Thanks in advance!

This option is available under this section ..
Manage Jenkins -> Global Tool Configuration -> MSBuild

Related

Jenkins trying to configure JDK and Maven with Manage Jenkins, but I do not see those sections and "Global Tool Configuration" in the page

Jenkins trying to configure JDK and Maven with Manage Jenkins, but I do not see those sections and "Global Tool Configuration" in the page
I have gone through some document for this issue everyone is saying to use global tool configuration but even this option is also not visible in my Jenkin.
Confirmed solution
<jenkinsURL>/configureTools/,
otherwise its under global configuration - global tool configuration
(so, from <jenkinURL>/manage), 4th button

run sonarQube via jenkins Task 'my-task' does not exist. Please use 'list' task to see all available tasks

I've got a server in work which has sonarQube, Gitlab and jenkins running side by side with Maven also on the box. I have also a project on this box i wish to test with sonarqube (located on this same box in /home/{user}/live/{sitename}/htdocs). I created a job in sonarqube, the only options i had where to call it something and I've no idea how this links to the actual project or where it is expecting to find the project to scan. in jenkins I added build step for sonarqube, again no option on where to find the code. i ran it anyway and to no surprise it failed asking me to use list to see all available, not being funny but where do i do this?
So I have 2 questions really:
where is sonarQube looking for this code, i presume symbolic links are good in this location to the actual code right?
where do i find and use this list command? is this in jenkins or sonarqube?
sonarqube jankins and gitlab are all accessible on our intranet with different default ports (8080, 8008 and 9000) i have the sonarqube scanner plugin on jenkins and it is using maven? Does anyone know of any good tutorials to setup this kind of scenario?
thanks
Craig
Configure your current Job and set below.
Under Build->Execute SonarQube Scanner
Task to run : leave it blank
Path to project properties: Specify your sonar project properties file
path
Before doing above changes make sure that below configurations are set
Jenkins->Manage Jenkins->Sonar Servers
Name:Sonarqube
Server URL: http://localhost:9000/sonarqube
Server authentication token: Generate in SonarQube in specify here
Jenkins->Manage Jenkins->Global Tool Configuration->SonarQube Scanner
SonarQube Scanner installations:
Name: SonarScanner
Install automatically: Tick checkbox
Install from Maven Center: Choose compatible SonarScanner version
I was able to get this working in the end but after upgrading sonarqube we decided to use the new pipelines feature, this took a while to configure but we are now able to do code analysis on our builds, see this link for details

Jenkins - MSBuild section is missing in system configuration

From MSBuild Plugin Page:
To use this plugin, specify the location directory of MSBuild.exe on
Jenkin's configuration page.
Jenkins 2.7.2 LTS is installed on Windows as a service with recommended plugins on startup.
Then I installed MSBuild plugin v1.26
Restarted Jenkins, but still I cannot see any MSBuild section in 'Configure System' page.
Can anyone help?
I've seen some of my plugin's settings going into "Global Tool Configuration". See the image:

Jenkins configuration: can't see "MSBuild SonarQube Runner" section

I can see this part in my local installed Jenkins server, but can't find it in my company's Jenkins servers. What's missing to make it show? The SonarQube Runner and Sonar sections are there.
The Compatibility section tells only supported by C# plugin 4.4 onwards:
http://docs.sonarqube.org/display/SONAR/Analyzing+with+SonarQube+Scanner+for+MSBuild.
So the solution is upgrade the C# plugin in SonarQube.

Where to configure Jenkins plugins?

I am unable to find where to configure just-installed Jenkins plugin.
Is there a common place somewhere where Jenkins plugins are installed?
Plugin: Secure Requester Whitelist
You can configure this plugin in the following admin section:
You can go to Manage Jenkins -> Manage Plugins.
Download plugins from Available Plugins Tab in .hpi format and then u can upload via browsing the file from Advanced Tab.
Once successfully uploaded, restart the Jenkins by checking the checkbox on the UI.
The plugin will be installed in your /{Jenkins_Home}/plugins/ folder.
Hope this helps.

Resources