Re: Error during Sonar runner execution in Jenkins

2014-12-30 Thread corneil.duples...@gmail.com
Why don't you open a command prompt at the same location as your Jenkins
job workspace and execute:

F:\Laptop 
Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat
SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver
-Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=trueuseUnicode=truecharacterEncoding=utf8
*jdbcpassword* -Dsonar.host.url=http://localhost:9000
-Dsonar.projectBaseDir=C:\Users\user\.jenkins\workspace\Try1
-Dproject.settings=F:/Laptop
Backup/OpenSource/sonarInstallation/sonar-runner-2.4/sonar-project.properties
*-e*

The look at the output to try and determine why it is failing.


On Tue Dec 30 2014 at 9:55:47 AM Neeraj Lad neera...@moolya.com wrote:

 Hi All,

 I have two questions:

 1: How to setup -e debugging parameter into Jenkins to see debugging log
 as mentioned at end of the error

 2: I am struggling to integrate Sonar into Jenkins. I am getting following
 error which does not say much details

 I have attached Jenkins configuration screenshot for your reference.

 *Note: Same project is running if i run in Sonar server but when it comes
 to jenkins integration it throw error. *

 Error Details:

 Started by user anonymous http://localhost:8081/jenkins/user/null
 Building in workspace C:\Users\user\.jenkins\workspace\Try1
   git.exe rev-parse --is-inside-work-tree # timeout=10
 Fetching changes from the remote Git repository
   git.exe config remote.origin.url https://github.com/imentor/qa.git # 
 timeout=10
 Fetching upstream changes from https://github.com/imentor/qa.git
   git.exe --version # timeout=10
 using .gitcredentials to set credentials
   git.exe config --local credential.helper store --file=\F:\Laptop 
 Backup\OpenSource\apache-tomcat-7.0.40\temp\git5891258861841529089.credentials\
  # timeout=10
   git.exe -c core.askpass=true fetch --tags --progress 
 https://github.com/imentor/qa.git +refs/heads/*:refs/remotes/origin/*
   git.exe config --local --remove-section credential # timeout=10
   git.exe rev-parse refs/remotes/origin/dev^{commit} # timeout=10
   git.exe rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
 Checking out Revision 10fed612086c1696c7beecc52feac924cb6fcf0d 
 (refs/remotes/origin/dev)
   git.exe config core.sparsecheckout # timeout=10
   git.exe checkout -f 10fed612086c1696c7beecc52feac924cb6fcf0d
   git.exe rev-list 10fed612086c1696c7beecc52feac924cb6fcf0d # timeout=10
 [Try1] $ F:\Laptop 
 Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat 
 SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver 
 -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=trueuseUnicode=truecharacterEncoding=utf8
    -Dsonar.host.url=http://localhost:9000 
 -Dsonar.projectBaseDir=C:\Users\user\.jenkins\workspace\Try1 
 -Dproject.settings=F:/Laptop 
 Backup/OpenSource/sonarInstallation/sonar-runner-2.4/sonar-project.properties
 F:/Laptop Backup/OpenSource/sonarInstallation/sonar-runner-2.4
 SonarQube Runner 2.4
 Java 1.8.0_25 Oracle Corporation (32-bit)
 Windows 7 6.1 x86
 INFO: Runner configuration file: F:\Laptop 
 Backup\OpenSource\sonarInstallation\sonar-runner-2.4\conf\sonar-runner.properties
 INFO: Project configuration file: F:\Laptop 
 Backup\OpenSource\sonarInstallation\sonar-runner-2.4\sonar-project.properties
 INFO: SonarQube Server 4.5.1
 13:10:03.029 INFO  - Load global referentials...
 13:10:03.287 INFO  - Load global referentials done: 258 ms
 13:10:03.297 INFO  - User cache: C:\Users\user\.sonar\cache
 13:10:03.307 INFO  - Install plugins
 13:10:03.359 INFO  - Install JDBC driver
 13:10:03.376 INFO  - Create JDBC datasource for 
 jdbc:mysql://localhost:3306/sonar?autoReconnect=trueuseUnicode=truecharacterEncoding=utf8
 13:10:04.688 INFO  - Initializing Hibernate
 INFO: 
 INFO: EXECUTION FAILURE
 INFO: 
 Total time: 4.091s
 Final Memory: 7M/19M
 INFO: 
 ERROR: Error during Sonar runner execution
 ERROR: Unable to execute Sonar
 ERROR: Caused by: Task SonarRunner_01 does not exist
 ERROR:
 ERROR: To see the full stack trace of the errors, re-run SonarQube Runner 
 with the -e switch.
 ERROR: Re-run SonarQube Runner using the -X switch to enable full debug 
 logging.
 Build step 'Invoke Standalone Sonar Analysis' marked build as failure
 Finished: FAILURE



 Thanks in advance,

 Neeraj

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/ee80904e-ed9f-404a-bd1d-ec9b8e273bf0%40googlegroups.com
 

Re: junit isnot publishing test report

2014-12-30 Thread corneil.duples...@gmail.com
Did you see in the output that JUnit was running?
How are you invoking JUnit? With an Ant build you have to add option to
instruct JUnit to produce the XML output.
On Mon Dec 29 2014 at 6:47:38 PM Murali sahithi.pa...@gmail.com wrote:

 It isnt publish report. XML are present in location. What could be issue?
 On Friday, 26 December 2014 22:28:30 UTC+5:30, Murali wrote:

 it didnt work. It isnt  publish report.is it mandatory build successful?


 On Wednesday, 24 December 2014 20:43:33 UTC+5:30, Corneil du Plessis
 wrote:

 I usually use **/build/test-results/*.xml since I often use sub projects
 and other time the checkout may add a directory for the project in the
 workspace depending on how you configured the SCM.


 On Tue Dec 23 2014 at 8:59:12 PM Murali sahith...@gmail.com wrote:

   Thanks for reply.  Even it isnot worked what you suggested.


 On Tuesday, 23 December 2014 00:06:28 UTC+5:30, Murali wrote:

 Hi,

 Installed junit. I gave path as below:

 *Publish JUnit test result report*
 [image: [Help]] http://162.243.236.49:8090/job/Niraman/configure# Test
 report XMLs
 Fileset ‘includes’ http://ant.apache.org/manual/Types/fileset.html 
 setting
 that specifies the generated raw XML report files, such as
 ‘myproject/target/test-reports/*.xml’. Basedir of the fileset is the
 workspace root http://162.243.236.49:8090/job/Niraman/ws/. Retain
 long standard output/error[image: Help for feature:]
 http://162.243.236.49:8090/job/Niraman/configure# Health report
 amplification factor[image: Help for feature: Health report
 amplification factor]
 http://162.243.236.49:8090/job/Niraman/configure#
 1% failing tests scores as 95% health. 5% failing tests scores as 75%
 health


 Please help me out. I have been doing RD since few week onwards. I
 couldnt find solution.

 Thanks
 Murali

  --
 You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit https://groups.google.com/d/
 msgid/jenkinsci-users/6ba87c54-8e50-4338-9a32-
 a8ade965a388%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/6ba87c54-8e50-4338-9a32-a8ade965a388%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/59253ff3-bd31-474b-9667-1f32d908ef66%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/59253ff3-bd31-474b-9667-1f32d908ef66%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CACPng9YPTWa%3DMGEo1_P52ki0tZmW0Scn-8TAyRj6CG_VvOc_Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Git based builds; one commit at a time

2014-12-30 Thread Steve K
Let's say that, since my most recent build, there have been three (3) new 
commits.
Rather than having one build that includes all three commits, I would like 
to have three separate builds; one for each of the three in sequence.

Is anyone doing something like that?  If so, how are you doing it?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/60bb2099-c4c1-4630-874c-339fc27c82b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to successfully restart a sub project after a failure within the build pipeline plugin

2014-12-30 Thread Thai Nguyen
newbie.

I have a failure in my sub project and corrected it.  I click on the sub 
project and restart it, but it seems like it does not restart.  The job 
number is stuck at the same number.  I can go directly to the sub project 
outside the plugin and restart it successfully, but through the build 
pipeline plugin, it seems like the restart does not work, and does not 
re-associate to the newer sub project number (e.g. the job number is 
'stuck' at 75):


 
https://lh3.googleusercontent.com/-3HPfU4j67cw/VKM6ejx5fvI/AA4/L-47b31gOOs/s1600/error.jpg



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/65197209-6641-421e-ab87-d318c36744cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Latest Maven Project Plugin splits out modules even for simple poms

2014-12-30 Thread Clinton Foster
After upgrading from version 2.6 to 2.8 of the Maven Project Plugin I no 
longer see new builds on the main page of my project. The old builds are 
still there, but they're now under a *Modules* link. In the attached screen 
capture the most recent build is #*312* even though the current build is #
*315*. The new builds are only visible when the Modules link is clicked.



I assume this is related to the support that was added in 2.7 for building 
individual modules of multi-module poms. But the pom for my project is a 
simple pom with jar packaging. It designates a parent pom only for 
purposes of inheriting common settings:

artifactIdfoo/artifactId

version4.4.4/version

packagingjar/packaging

parent
groupIdcom.foo/groupId
artifactIdparent-pom/artifactId
version1.1.1/version
/parent


The parent pom has no *modules* section, and its packaging is pom:

prerequisites
maven3.2.3/maven
/prerequisites
groupIdcom.foo/groupId

artifactIdparent-pom/artifactId
version1.1.1/version

packagingpom/packaging


These poms haven't changed in awhile. They build without any problems. It's 
just that the Jenkins UI seems to think this is a multi-module project 
since installing the new plugin.



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b4f1fd01-637e-44ba-a003-4b1b6f25759c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during Sonar runner execution in Jenkins

2014-12-30 Thread Neeraj Lad
Hi Corneil,

Thanks for reply.

I am using following versions :


   - Jenkins version: 1.594
   - Sonar Plug-in version : 2.1


I tried to execute from command line and following error displayed to me.


ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at
org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at
org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at
org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at
org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:53)
Caused by: Task SonarRunner_01 does not exist


Any idea ?






*Thanks  Regards,*



*Neerajkumar Lad*
Senior Exploratory Tester  | Moolya
+91-9538268171 | neera...@moolya.com ma...@moolya.com | www.moolya.com
http://moolya.com

*Moolya is a mobility test solutions company. We solve 3 problems for our
customers. Device Fragmentation, Quality and Automation.*

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly
prohibited.

On Tue, Dec 30, 2014 at 6:37 PM, corneil.duples...@gmail.com 
corneil.duples...@gmail.com wrote:

 Why don't you open a command prompt at the same location as your Jenkins
 job workspace and execute:

 F:\Laptop 
 Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat 
 SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver 
 -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=trueuseUnicode=truecharacterEncoding=utf8
  *jdbcpassword* -Dsonar.host.url=http://localhost:9000 
 -Dsonar.projectBaseDir=C:\Users\user\.jenkins\workspace\Try1 
 -Dproject.settings=F:/Laptop 
 Backup/OpenSource/sonarInstallation/sonar-runner-2.4/sonar-project.properties
  *-e*

 The look at the output to try and determine why it is failing.


 On Tue Dec 30 2014 at 9:55:47 AM Neeraj Lad neera...@moolya.com wrote:

 Hi All,

 I have two questions:

 1: How to setup -e debugging parameter into Jenkins to see debugging log
 as mentioned at end of the error

 2: I am struggling to integrate Sonar into Jenkins. I am getting
 following error which does not say much details

 I have attached Jenkins configuration screenshot for your reference.

 *Note: Same project is running if i run in Sonar server but when it comes
 to jenkins integration it throw error. *

 Error Details:

 Started by user anonymous http://localhost:8081/jenkins/user/null
 Building in workspace C:\Users\user\.jenkins\workspace\Try1
   git.exe rev-parse --is-inside-work-tree # timeout=10
 Fetching changes from the remote Git repository
   git.exe config remote.origin.url https://github.com/imentor/qa.git # 
 timeout=10
 Fetching upstream changes from https://github.com/imentor/qa.git
   git.exe --version # timeout=10
 using .gitcredentials to set credentials
   git.exe config --local credential.helper store --file=\F:\Laptop 
 Backup\OpenSource\apache-tomcat-7.0.40\temp\git5891258861841529089.credentials\
  # timeout=10
   git.exe -c core.askpass=true fetch --tags --progress 
 https://github.com/imentor/qa.git +refs/heads/*:refs/remotes/origin/*
   git.exe config --local --remove-section credential # timeout=10
   git.exe rev-parse refs/remotes/origin/dev^{commit} # timeout=10
   git.exe rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10
 Checking out Revision 10fed612086c1696c7beecc52feac924cb6fcf0d 
 (refs/remotes/origin/dev)
   git.exe config core.sparsecheckout # timeout=10
   git.exe checkout -f 10fed612086c1696c7beecc52feac924cb6fcf0d
   git.exe rev-list 10fed612086c1696c7beecc52feac924cb6fcf0d # timeout=10
 [Try1] $ F:\Laptop 
 Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat 
 SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver 
 -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=trueuseUnicode=truecharacterEncoding=utf8
    -Dsonar.host.url=http://localhost:9000 
 

Re: Git based builds; one commit at a time

2014-12-30 Thread Dirk Heinrichs
Am 30.12.2014 um 21:21 schrieb Steve K:

 Let's say that, since my most recent build, there have been three (3)
 new commits.
 Rather than having one build that includes all three commits, I would
 like to have three separate builds; one for each of the three in sequence.

 Is anyone doing something like that?  If so, how are you doing it?

Not exactly something like that, but similar, I think. We develop
everything on change branches, where each branch is directly related to
one ticket in our tracking system. Jenkins is our gatekeeper for merging
those branches back to master (or the maintenance branch for a specific
release). So we use some scripting in our Jenkins jobs to clone/pull the
repo, merge one branch (given as parameter), run build and tests and
commit and push the result only if everything was OK. In case of failure
in any of these steps, the developer is informed by email and the merge
result is thrown away.

HTH...

Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 159 (Ansage) 1149
*Email*: d...@recommind.com mailto:d...@recommind.com
*Skype*: dirk.heinrichs.recommind
www.recommind.com http://www.recommind.com

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/54A399F4.7020707%40recommind.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during Sonar runner execution in Jenkins

2014-12-30 Thread Neeraj Lad
Hi Corneil,

I would like to add more details:

i Just found the Jenkins server log ( Tomcat server log )

Dec 31, 2014 12:43:35 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002
dat
: B05083DC563D0EF7
Dec 31, 2014 12:43:35 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002
dat
: B05083DC563D0EF7
Dec 31, 2014 12:44:11 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002
dat
: B14D67B6579F226D
Dec 31, 2014 12:44:11 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002
dat
: B14D67B6579F226D
Dec 31, 2014 12:44:55 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002
dat
: B05083DC563D0EF7
Dec 31, 2014 12:44:55 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002
dat
: B05083DC563D0EF7
Dec 31, 2014 12:45:00 PM hudson.plugins.git.GitTool$DescriptorImpl
getInstallat
on

Is this the problem ?


*Thanks  Regards,*



*Neerajkumar Lad*

*Moolya is a mobility test solutions company. We solve 3 problems for our
customers. Device Fragmentation, Quality and Automation.*

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly
prohibited.

On Wed, Dec 31, 2014 at 8:19 AM, Neeraj Lad neera...@moolya.com wrote:

 Hi Corneil,

 Thanks for reply.

 I am using following versions :


- Jenkins version: 1.594
- Sonar Plug-in version : 2.1


 I tried to execute from command line and following error displayed to me.


 ERROR: Error during Sonar runner execution
 org.sonar.runner.impl.RunnerException: Unable to execute Sonar
 at
 org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
 at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
 at
 org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
 at
 org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
 at org.sonar.runner.api.Runner.execute(Runner.java:100)
 at org.sonar.runner.Main.executeTask(Main.java:70)
 at org.sonar.runner.Main.execute(Main.java:59)
 at org.sonar.runner.Main.main(Main.java:53)
 Caused by: Task SonarRunner_01 does not exist


 Any idea ?






 *Thanks  Regards,*



 *Neerajkumar Lad*
 Senior Exploratory Tester  | Moolya
 +91-9538268171 | neera...@moolya.com ma...@moolya.com | www.moolya.com
 http://moolya.com

 *Moolya is a mobility test solutions company. We solve 3 problems for our
 customers. Device Fragmentation, Quality and Automation.*

 This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify the system manager.
 This message contains confidential information and is intended only for the
 individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. If you are not the intended recipient
 you are notified that disclosing, copying, distributing or taking any
 action in reliance on the contents of this information is strictly
 prohibited.

 On Tue, Dec 30, 2014 at 6:37 PM, corneil.duples...@gmail.com 
 corneil.duples...@gmail.com wrote:

 Why don't you open a command prompt at the same location as your Jenkins
 job workspace and execute:

 F:\Laptop 
 Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat 
 SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver 
 -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=trueuseUnicode=truecharacterEncoding=utf8
  *jdbcpassword* -Dsonar.host.url=http://localhost:9000 
 -Dsonar.projectBaseDir=C:\Users\user\.jenkins\workspace\Try1 
 -Dproject.settings=F:/Laptop