Deleting current snapshot and rolling back to the last

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Deleting current snapshot and rolling back to the last

topagae
Getting an error that old mailing list posts describe as a corrupted/duplicate scan error, the error mentions the date of the last analysis we did, but I can delete EVERY snapshot EXCEPT that one in the history. Is there a way to delete it and use the next snapshot in line as "Latest"? I.E A rollback
Reply | Threaded
Open this post in threaded view
|

Re: Deleting current snapshot and rolling back to the last

David Racodon-2
Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant

---------------------------------------------
  Sign up to our newsletter here!
---------------------------------------------


On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

topagae

Screenshot attached:

http://screencast.com/t/sGdjoS0Xr

 

From: David Racodon-2 [via SonarQube] [mailto:ml-node+[hidden email]]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

 

Hi,

 

Could you please send a screenshot?

 

Thanks

 

Regards,


 

David RACODON | SonarSource
Senior Consultant

 

---------------------------------------------

  Sign up to our newsletter here!

---------------------------------------------

 

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]> wrote:

Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

 

 


If you reply to this email, your message will be added to the discussion below:

http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html

To unsubscribe from Deleting current snapshot and rolling back to the last, click here.
NAML


Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

David Racodon-2
Hi,

You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

Regards,


David RACODON | SonarSource
Senior Consultant

---------------------------------------------
  Sign up to our newsletter here!
---------------------------------------------


On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]> wrote:
Screenshot attached:
http://screencast.com/t/sGdjoS0Xr

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

topagae

Oh but I could, I’m getting an error that other users and Sonar folk have described as having a corrupt/duplicate snapshot that needs to be taken care of before the error will go away.

 

From following posts on boards:

http://sonarqube.15.x6.nabble.com/Error-Can-not-execute-Sonar-expected-one-element-but-was-td5003318.html

http://sonarqube.15.x6.nabble.com/Error-during-Sonar-runner-execution-expected-one-element-but-was-td5018626.html

 

I don’t pretend to understand the error, but it does list the date of the last analysis which I imagine is that bad snapshot, which is why I was trying to get rid of it. Full error below.

 

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]> -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis

         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)

         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)

         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)

         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)

         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         at java.lang.reflect.Method.invoke(Method.java:606)

         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis

         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)

         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)

         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)

         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)

         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

         ... 19 more

Caused by: org.apache.maven.plugin.MojoExecutionException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>

         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)

         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)

         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)

         ... 23 more

Caused by: java.lang.IllegalArgumentException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>

         at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)

         at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:265)

         at org.sonar.plugins.scmactivity.PreviousSha1Finder.find(PreviousSha1Finder.java:45)

         at org.sonar.plugins.scmactivity.ScmActivitySensor.collect(ScmActivitySensor.java:107)

         at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:92)

         at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)

         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)

         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:150)

         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)

         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)

         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:190)

         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:185)

         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:183)

         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:178)

         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)

         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)

         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:58)

         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)

         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)

         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)

         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)

         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:155)

         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:143)

         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)

         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)

         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)

         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)

         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         at java.lang.reflect.Method.invoke(Method.java:606)

         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)

         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:90)

         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)

         ... 24 more

 

 

From: David Racodon-2 [via SonarQube] [mailto:ml-node+[hidden email]]
Sent: Wednesday, January 08, 2014 12:15 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

 

Hi,

 

You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

 

Regards,


 

David RACODON | SonarSource
Senior Consultant

 

---------------------------------------------

  Sign up to our newsletter here!

---------------------------------------------

 

On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]> wrote:

Screenshot attached:
http://screencast.com/t/sGdjoS0Xr

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last


Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant

http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------


On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html

Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

 

 


If you reply to this email, your message will be added to the discussion below:

http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020801.html

To unsubscribe from Deleting current snapshot and rolling back to the last, click here.
NAML


Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

David Racodon-2
Hi,

This issue is not related to the latest snapshot. The failure is on the current analysis and nothing is stored in the database because the analysis crashes.

Could you please send me the versions of SonarQube and the SCM Activity plugin?
What is the language of this project?
Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

Thank you

Regards,


David RACODON | SonarSource
Senior Consultant

---------------------------------------------
  Sign up to our newsletter here!
---------------------------------------------


On Wed, Jan 8, 2014 at 6:57 PM, topagae <[hidden email]> wrote:
Oh but I could, I’m getting an error that other users and Sonar folk have described as having a corrupt/duplicate snapshot that needs to be taken care of before the error will go away.

From following posts on boards:
http://sonarqube.15.x6.nabble.com/Error-Can-not-execute-Sonar-expected-one-element-but-was-td5003318.html
http://sonarqube.15.x6.nabble.com/Error-during-Sonar-runner-execution-expected-one-element-but-was-td5018626.html

I don’t pretend to understand the error, but it does list the date of the last analysis which I imagine is that bad snapshot, which is why I was trying to get rid of it. Full error below.

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]> -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
         ... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
         ... 23 more
Caused by: java.lang.IllegalArgumentException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)
         at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:265)
         at org.sonar.plugins.scmactivity.PreviousSha1Finder.find(PreviousSha1Finder.java:45)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.collect(ScmActivitySensor.java:107)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:92)
         at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)
         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)
         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:150)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:190)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:185)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:183)
         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:178)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:58)
         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:155)
         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:143)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
         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:90)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
         ... 24 more


From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Wednesday, January 08, 2014 12:15 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=0>> wrote:
Screenshot attached:
http://screencast.com/t/sGdjoS0Xr

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=1>]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020801.html
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020832.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

topagae

The version of Sonar Qube is: Version 4.0

The version of the SCM activity plugin is:

SCM Activity [scmactivity]

1.6

Collects and reports information from SCM.

 

The language of the project is: Java, compiled with Maven.

Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

Not seeing this parameter in our pom, we run off Jenkins which might take care of it for us, but here is all the Sonar configs we do have in our prom:

 

 

                                <!-- Sonar -->

                                <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>

                                <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>

                                <sonar.surefire.reportsPath>/target/surefire-reports</sonar.surefire.reportsPath>

                                <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>    <!-- This is the default, put here to be explicit -->

                                <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>

                                <sonar.language>java</sonar.language>

 

                                <!-- Sonar, which we use for analysis on our codebase. Maybe deprecated -->

                                <dependency>

                                   <groupId>org.codehaus.sonar</groupId>

                                   <artifactId>sonar-maven3-plugin</artifactId>

                                   <version>3.5.1</version>

                                </dependency>

 

Thanks for the help!

From: David Racodon-2 [via SonarQube] [mailto:ml-node+[hidden email]]
Sent: Monday, January 13, 2014 12:34 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

 

Hi,

 

This issue is not related to the latest snapshot. The failure is on the current analysis and nothing is stored in the database because the analysis crashes.

 

Could you please send me the versions of SonarQube and the SCM Activity plugin?

What is the language of this project?

Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

 

Thank you

 

Regards,


 

David RACODON | SonarSource
Senior Consultant

 

---------------------------------------------

  Sign up to our newsletter here!

---------------------------------------------

 

On Wed, Jan 8, 2014 at 6:57 PM, topagae <[hidden email]> wrote:

Oh but I could, I’m getting an error that other users and Sonar folk have described as having a corrupt/duplicate snapshot that needs to be taken care of before the error will go away.

From following posts on boards:
http://sonarqube.15.x6.nabble.com/Error-Can-not-execute-Sonar-expected-one-element-but-was-td5003318.html
http://sonarqube.15.x6.nabble.com/Error-during-Sonar-runner-execution-expected-one-element-but-was-td5018626.html

I don’t pretend to understand the error, but it does list the date of the last analysis which I imagine is that bad snapshot, which is why I was trying to get rid of it. Full error below.

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis: expected one element but was: <[hidden email]>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], [hidden email] 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]> -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
         ... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: expected one element but was: <[hidden email]>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], [hidden email] 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
         ... 23 more
Caused by: java.lang.IllegalArgumentException: expected one element but was: <[hidden email]>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], [hidden email] 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)
         at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:265)
         at org.sonar.plugins.scmactivity.PreviousSha1Finder.find(PreviousSha1Finder.java:45)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.collect(ScmActivitySensor.java:107)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:92)
         at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)
         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)
         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:150)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:190)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:185)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:183)
         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:178)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:58)
         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:155)
         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:143)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
         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:90)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
         ... 24 more


From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Wednesday, January 08, 2014 12:15 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,


You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

Regards,


David RACODON | SonarSource
Senior Consultant

http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=0>> wrote:
Screenshot attached:
http://screencast.com/t/sGdjoS0Xr

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=1>]

Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html

To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>







--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:

http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020801.html

View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020832.html

Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

 

 


If you reply to this email, your message will be added to the discussion below:

http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020950.html

To unsubscribe from Deleting current snapshot and rolling back to the last, click here.
NAML


Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

David Racodon-2
Hi,

Are you facing the issue on this project only?
If so, could you please deactivate the SCM Activity plugin and run an analysis of your project? Then, reactivate the SCM Activity plugin and run again an analysis of your project. Is everything back to normal?

Thank you

Regards,


David RACODON | SonarSource
Senior Consultant

---------------------------------------------
  Sign up to our newsletter here!
---------------------------------------------


On Mon, Jan 13, 2014 at 9:42 PM, topagae <[hidden email]> wrote:
The version of Sonar Qube is: Version 4.0
The version of the SCM activity plugin is:
SCM Activity<http://sonar/updatecenter#plugin> [scmactivity]

1.6

Collects and reports information from SCM.


The language of the project is: Java, compiled with Maven.
Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?
Not seeing this parameter in our pom, we run off Jenkins which might take care of it for us, but here is all the Sonar configs we do have in our prom:


                                <!-- Sonar -->
                                <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
                                <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
                                <sonar.surefire.reportsPath>/target/surefire-reports</sonar.surefire.reportsPath>
                                <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>    <!-- This is the default, put here to be explicit -->
                                <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
                                <sonar.language>java</sonar.language>

                                <!-- Sonar, which we use for analysis on our codebase. Maybe deprecated -->
                                <dependency>
                                   <groupId>org.codehaus.sonar</groupId>
                                   <artifactId>sonar-maven3-plugin</artifactId>
                                   <version>3.5.1</version>
                                </dependency>

Thanks for the help!
From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Monday, January 13, 2014 12:34 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

This issue is not related to the latest snapshot. The failure is on the current analysis and nothing is stored in the database because the analysis crashes.

Could you please send me the versions of SonarQube and the SCM Activity plugin?
What is the language of this project?
Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

Thank you

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Wed, Jan 8, 2014 at 6:57 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020950&i=0>> wrote:
Oh but I could, I’m getting an error that other users and Sonar folk have described as having a corrupt/duplicate snapshot that needs to be taken care of before the error will go away.

From following posts on boards:
http://sonarqube.15.x6.nabble.com/Error-Can-not-execute-Sonar-expected-one-element-but-was-td5003318.html
http://sonarqube.15.x6.nabble.com/Error-during-Sonar-runner-execution-expected-one-element-but-was-td5018626.html

I don’t pretend to understand the error, but it does list the date of the last analysis which I imagine is that bad snapshot, which is why I was trying to get rid of it. Full error below.

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email][id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email][id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]> -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
         ... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email][id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email][id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
         ... 23 more
Caused by: java.lang.IllegalArgumentException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email][id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email][id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)
         at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:265)
         at org.sonar.plugins.scmactivity.PreviousSha1Finder.find(PreviousSha1Finder.java:45)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.collect(ScmActivitySensor.java:107)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:92)
         at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)
         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)
         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:150)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:190)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:185)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:183)
         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:178)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:58)
         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:155)
         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:143)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
         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:90)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
         ... 24 more


From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020950&i=1>]
Sent: Wednesday, January 08, 2014 12:15 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------
On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=0>> wrote:
Screenshot attached:
http://screencast.com/t/sGdjoS0Xr
From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=1>]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020801.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020832.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020950.html
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5021006.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

topagae

That worked, I’m not sure why, but it did. Thank you!

 

From: David Racodon-2 [via SonarQube] [mailto:ml-node+[hidden email]]
Sent: Wednesday, January 15, 2014 5:00 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

 

Hi,

 

Are you facing the issue on this project only?

If so, could you please deactivate the SCM Activity plugin and run an analysis of your project? Then, reactivate the SCM Activity plugin and run again an analysis of your project. Is everything back to normal?

 

Thank you

 

Regards,


 

David RACODON | SonarSource
Senior Consultant

 

---------------------------------------------

  Sign up to our newsletter here!

---------------------------------------------

 

On Mon, Jan 13, 2014 at 9:42 PM, topagae <[hidden email]> wrote:

The version of Sonar Qube is: Version 4.0
The version of the SCM activity plugin is:
SCM Activity<http://sonar/updatecenter#plugin> [scmactivity]

1.6

Collects and reports information from SCM.


The language of the project is: Java, compiled with Maven.

Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

Not seeing this parameter in our pom, we run off Jenkins which might take care of it for us, but here is all the Sonar configs we do have in our prom:


                                <!-- Sonar -->
                                <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
                                <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
                                <sonar.surefire.reportsPath>/target/surefire-reports</sonar.surefire.reportsPath>
                                <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>    <!-- This is the default, put here to be explicit -->
                                <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
                                <sonar.language>java</sonar.language>

                                <!-- Sonar, which we use for analysis on our codebase. Maybe deprecated -->
                                <dependency>
                                   <groupId>org.codehaus.sonar</groupId>
                                   <artifactId>sonar-maven3-plugin</artifactId>
                                   <version>3.5.1</version>
                                </dependency>

Thanks for the help!
From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Monday, January 13, 2014 12:34 AM

To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

This issue is not related to the latest snapshot. The failure is on the current analysis and nothing is stored in the database because the analysis crashes.

Could you please send me the versions of SonarQube and the SCM Activity plugin?
What is the language of this project?
Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

Thank you

Regards,


David RACODON | SonarSource
Senior Consultant

http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Wed, Jan 8, 2014 at 6:57 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020950&i=0>> wrote:
Oh but I could, I’m getting an error that other users and Sonar folk have described as having a corrupt/duplicate snapshot that needs to be taken care of before the error will go away.

From following posts on boards:
http://sonarqube.15.x6.nabble.com/Error-Can-not-execute-Sonar-expected-one-element-but-was-td5003318.html
http://sonarqube.15.x6.nabble.com/Error-during-Sonar-runner-execution-expected-one-element-but-was-td5018626.html

I don’t pretend to understand the error, but it does list the date of the last analysis which I imagine is that bad snapshot, which is why I was trying to get rid of it. Full error below.

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email][id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email][id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]> -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
         ... 19 more

Caused by: org.apache.maven.plugin.MojoExecutionException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email][id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email][id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>

         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
         ... 23 more

Caused by: java.lang.IllegalArgumentException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email][id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email][id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>

         at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)
         at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:265)
         at org.sonar.plugins.scmactivity.PreviousSha1Finder.find(PreviousSha1Finder.java:45)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.collect(ScmActivitySensor.java:107)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:92)
         at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)
         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)
         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:150)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:190)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:185)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:183)
         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:178)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:58)
         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:155)
         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:143)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
         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:90)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
         ... 24 more

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020950&i=1>]

Sent: Wednesday, January 08, 2014 12:15 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------
On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=0>> wrote:
Screenshot attached:
http://screencast.com/t/sGdjoS0Xr
From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=1>]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020801.html

To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>







--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020832.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:

http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020950.html

View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5021006.html

Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

 

 


If you reply to this email, your message will be added to the discussion below:

http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5021084.html

To unsubscribe from Deleting current snapshot and rolling back to the last, click here.
NAML


Reply | Threaded
Open this post in threaded view
|

RE: Deleting current snapshot and rolling back to the last

David Racodon-2
Cool!


David RACODON | SonarSource
Senior Consultant

---------------------------------------------
  Sign up to our newsletter here!
---------------------------------------------


On Thu, Jan 16, 2014 at 12:45 AM, topagae <[hidden email]> wrote:
That worked, I’m not sure why, but it did. Thank you!

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]]
Sent: Wednesday, January 15, 2014 5:00 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

Are you facing the issue on this project only?
If so, could you please deactivate the SCM Activity plugin and run an analysis of your project? Then, reactivate the SCM Activity plugin and run again an analysis of your project. Is everything back to normal?

Thank you

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Mon, Jan 13, 2014 at 9:42 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=0>> wrote:
The version of Sonar Qube is: Version 4.0
The version of the SCM activity plugin is:
SCM Activity<http://sonar/updatecenter#plugin> [scmactivity]

1.6

Collects and reports information from SCM.


The language of the project is: Java, compiled with Maven.
Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?
Not seeing this parameter in our pom, we run off Jenkins which might take care of it for us, but here is all the Sonar configs we do have in our prom:


                                <!-- Sonar -->
                                <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
                                <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
                                <sonar.surefire.reportsPath>/target/surefire-reports</sonar.surefire.reportsPath>
                                <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>    <!-- This is the default, put here to be explicit -->
                                <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
                                <sonar.language>java</sonar.language>

                                <!-- Sonar, which we use for analysis on our codebase. Maybe deprecated -->
                                <dependency>
                                   <groupId>org.codehaus.sonar</groupId>
                                   <artifactId>sonar-maven3-plugin</artifactId>
                                   <version>3.5.1</version>
                                </dependency>

Thanks for the help!
From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=1>]
Sent: Monday, January 13, 2014 12:34 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,
This issue is not related to the latest snapshot. The failure is on the current analysis and nothing is stored in the database because the analysis crashes.

Could you please send me the versions of SonarQube and the SCM Activity plugin?
What is the language of this project?
Could you please provide the value of the "sonar.sources" parameter in your project analysis configuration file?

Thank you

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------
On Wed, Jan 8, 2014 at 6:57 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020950&i=0>> wrote:
Oh but I could, I’m getting an error that other users and Sonar folk have described as having a corrupt/duplicate snapshot that needs to be taken care of before the error will go away.

From following posts on boards:
http://sonarqube.15.x6.nabble.com/Error-Can-not-execute-Sonar-expected-one-element-but-was-td5003318.html
http://sonarqube.15.x6.nabble.com/Error-during-Sonar-runner-execution-expected-one-element-but-was-td5018626.html

I don’t pretend to understand the error, but it does list the date of the last analysis which I imagine is that bad snapshot, which is why I was trying to get rid of it. Full error below.
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=2>[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=3>[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]> -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project dna-backend-base: Can not execute SonarQube analysis
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
         ... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=4>[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=5>[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
         ... 23 more
Caused by: java.lang.IllegalArgumentException: expected one element but was: <org.sonar.api.measures.Measure@1b0b4747[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=<null<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=6>[id=48518280,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull>>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=b01ce7dee13f0dccf88d12773fafb73e70604ab8,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL], org.sonar.api.measures.Measure@28a36349[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=<null>,key=scm.hash,description=<null>,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=<null>,bestValue=<null>,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=<null>,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=<null>,alertStatus=<null>,alertText=<null>,tendency=<null>,date=2014-01-05<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5021084&i=7>[id=48521789,metricKey=scm.hash,metric=Metric[id=152,formula=%3cnull%3e,key=scm.hash,description=%3cnull%3e,type=STRING,direction=0,domain=SCM,name=Hash,qualitative=false,userManaged=false,enabled=true,origin=JAV,worstValue=%3cnull%3e,bestValue=%3cnull%3e,optimizedBestValue=false,hidden=true,deleteHistoricalData=false],value=%3cnull%3e,data=79414e48ef42c60baee680b41af8e7c24cabad8b,description=%3cnull%3e,alertStatus=%3cnull%3e,alertText=%3cnull%3e,tendency=%3cnull%3e,date=2014-01-05> 20:56:17.0,variation1=<null>,variation2=<null>,variation3=<null>,variation4=<null>,variation5=<null>,url=<null>,characteristic=<null>,personId=<null>,persistenceMode=FULL]>
         at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:308)
         at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:265)
         at org.sonar.plugins.scmactivity.PreviousSha1Finder.find(PreviousSha1Finder.java:45)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.collect(ScmActivitySensor.java:107)
         at org.sonar.plugins.scmactivity.ScmActivitySensor.analyse(ScmActivitySensor.java:92)
         at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)
         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)
         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:150)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:190)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:185)
         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:183)
         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:178)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:58)
         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:155)
         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:143)
         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
         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:90)
         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
         ... 24 more

From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020950&i=1>]
Sent: Wednesday, January 08, 2014 12:15 AM
To: Christopher Lee
Subject: RE: Deleting current snapshot and rolling back to the last

Hi,

You have to run another analysis of your project. You'll then be able to delete this erroneous snapshot.

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------
On Tue, Jan 7, 2014 at 11:46 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=0>> wrote:
Screenshot attached:
http://screencast.com/t/sGdjoS0Xr
From: David Racodon-2 [via SonarQube] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=5020801&i=1>]
Sent: Tuesday, January 07, 2014 1:57 PM
To: Christopher Lee
Subject: Re: Deleting current snapshot and rolling back to the last

Hi,

Could you please send a screenshot?

Thanks

Regards,


David RACODON | SonarSource
Senior Consultant
http://sonarsource.com<http://sonarsource.com/>

---------------------------------------------
  Sign up to our newsletter here<http://www.sonarsource.com/company/news/newsletter/>!
---------------------------------------------

On Tue, Jan 7, 2014 at 8:27 PM, topagae <[hidden email]</user/SendEmail.jtp?type=node&node=5020792&i=0>> wrote:
Getting an error that old mailing list posts describe as a
corrupted/duplicate scan error, the error mentions the date of the last
analysis we did, but I can delete EVERY snapshot EXCEPT that one in the
history. Is there a way to delete it and use the next snapshot in line as
"Latest"? I.E A rollback



--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020792.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020793.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020801.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020832.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5020950.html
To unsubscribe from Deleting current snapshot and rolling back to the last, click here< NAML<http://sonarqube.15.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5021006.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



________________________________
If you reply to this email, your message will be added to the discussion below:
http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5021084.html
View this message in context: http://sonarqube.15.x6.nabble.com/Deleting-current-snapshot-and-rolling-back-to-the-last-tp5020785p5021128.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email