-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trouble with codesonar plugin after moving a job from jenkins to cloudbees #67
Comments
|
sorry it was just my cut and pasting. the project paths match in my jenkins console log. |
Sorry for the wait! I'm still not quite sure what could be wrong with the setup after the change to the CloudBees instance. It also happens when you just trigger the build manually? I have some attempts to set up some test environment, where "project by the name ... not found on the hub" seem to pop up when the analyze command failed. |
I see this when there is a valid run of the build. The analysis report is in the hub. the plugin command doesn't find it. I have tried manually running the codesonar conditions command in jenkins pipeline using all variations of the path to the analysis in the hub without success unless the analysis is at the top level of the hub path. So, this path fails... thor/ui/builder/thor, so does thor alone, or just ui/builder/thor. but if I set the build to create the analysis at thor/builder_mp_ui, it is found with no problem. |
the job was successful in regular jenkins, plugin version 2.0.8. when I moved it to my cloudbees instance, the version of the codesonar plugin went up to the latest. then the failures started.
CloudBees Jenkins Distribution 2.222.1.1-rolling
plugin version - 2.0.9
Here is the command line that fails now:
codesonar conditions: [redAlerts(warrantedResult: 'FAILURE')], credentialId: "${CREDENTIALS}", hubAddress: 'xxx', projectName: 'thor/ui/builder/thor', protocol: 'http'
I can navigate to the project and see analysis, but the plugin give me this error:
Project by the name thor/ui/builder/thor was not found on the hub
The text was updated successfully, but these errors were encountered: