a required argument is missing: /key:[Sonarqube project key] - sonarqube

I am trying to run sonarqube analysis but I am getting the error
"a required argument is missing: /key:[Sonarqube project key]"
C:\Sonarqube\sonarqube-6.7\sonarqube-6.7\bin\sonar-scanner-msbuild-4.0.2.892\SonarQube.Scanner.MSBuild.exe begin /key: {projectkey} /name:{projectname} /version:{1.0}
I have used the following url
I have tried using the "" in Key and Name but still get the same error
can anyone suggest how to do this?

There's a typo in the command line: the space between /key: and {projectkey}. This is what produces this error message.

Related

Error: command "bash" failed with no error message?

I am using terraform on my Mac system, and terraform apply results with below error
Error: command "bash" failed with no error message
on ssm.tf line 7, in data "external" "ssm-dynamic-general":
7: data "external" "ssm-dynamic-general" {
However there is nothing wrong in ssm.tf file, same runs perfectly fine in my another system.
Can some one please let me know what i am missing here?
You might have done what I accidentally did: not follow the external program protocol:
https://www.terraform.io/docs/providers/external/data_source.html#external-program-protocol
In my particular case, I failed to send the errors that were coming from my program to standard error. Instead, those errors were going to standard out.
That's why Terraform wasn't able to report on those errors.
So if you send any and all errors from your program to standard error using > &2, you should be able to see those errors when you run terraform plan.

PACT error while loading pact_helper.rb (Malformed version number string )

When I run the pact test, I get the following error.
An error occurred while loading ./spec/mailers/mailing_spec.rb.
Failure/Error:
mock_service :core_service do
port "3003"
end
ArgumentError:
Malformed version number string
Any ideas around this issue?
Thanks in advance.
Can you please raise an issue in the pact-ruby and include all the relevant versions, and the steps to recreate the issue, preferably with an executable code example.

Xcode error: Command failed with exit code 1

I imported a new code into Xcode and I am getting this error:
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
failed with exit code 1.
How do you fix it?
Try cmd+alt+shift+k. This cleans your derived data and might fix the issue.
As far as I know there can be multiple reasons why a compiler fails. Although cmd+alt+shift+k will help most of the time. If this fails, then click on the error message and try to debug it.
For example in the image below, if you read the message, we get to know that, there has been a name duplication. Fixing the name duplication will fix the

Oracle SQL Developer Giving error while making monnection

Whenever I try to make a new connection it give an error that
Status : Failure - Test Failed: Connection property: format error: property is 'v$sessoj.osuder' and value is 'user name'
How to solve this error?
I had exactly that problem, my computer's name has parenthesis, I solved it by adding a line in the 'ide.conf' file, you can check the steps here:
https://stackoverflow.com/a/72623763/19340528
Hope it helps!

Bundle not found in bnd-cache

I have a problem with bndtools. The resolving is completed with no problems, but after I clicked on "Run OSGi" in a run descriptor following problem appears:
Status ERROR: bndtools.core code=0 jena-arq~;version=[2.9.4,2.9.5) Not found in [bnd-cache, aQute.lib.deployer.obr.LocalOBR#1fef0b44, aQute.lib.deployer.obr.OBR#6ccadbd, aQute.lib.deployer.obr.LocalOBR#67a256c7, aQute.lib.deployer.obr.OBR#2d52912f] null
Looking at jena-arq~ you must list jena-arq twice in one of the lists ... bnd appends a name with a ~ if there is a duplicate. This should be remove of course before the name is sought, please file a bug about this. However, ensuring each name is only once in the list should work also.

Resources