Closed engrun closed 6 years ago
Mh. At first sight I don't see, why line 136 of the "out" script should be causing any issues.
Seems as if the parsing of params.scanner_type
is causing issues... strange...
I found the "bug".
The config scanner_type: cli
was misplaced (under resource/source config)
It should be placed under plan/put: code-analysis/params
Right. Didn't see that mix-up in the first place... ... so no issue at all, I assume.
Closing...
Hi
I having trouble getting this resource to work. When running, I get the following error
Preparing SonarQube scanner... ERROR in /opt/resource/out : line 136 with exit code 1
I have looked at the source code for assets/out, but cannot find any reason for this error.
My config is
and then the job
the build.yml looks like
I have hijacked the container, and the build-output is present, with all sources and the Maven target folder after being built with the "build" task. All required parameters are set, and there is a sonar-project.properties located in the build-output folder.
The sonar-project.properties looks like