Can the Upgrade change the Policy in Nexus-IQ?

nexus-iq

#1

Team,
we had done upgrade of Nexus-IQ from 1.44 to 56 4 months ago.few of our developers using Nexus-IQ to scan the artifacts before adding them to nexus are facing below error in the build in jenkins .we have checked on Nexus-IQ configuration on Jenkins and found its all set .Is it possible that there can be a Policy change when we upgraded few months ago ??Please assist …

ERROR: Build step failed with exception
java.lang.IllegalArgumentException: Nexus IQ Server address has not been configured
at com.sonatype.insight.ci.client.Context.(SourceFile:37)
at com.sonatype.insight.ci.hudson.InsightLink.context(InsightLink.java:198)
at com.sonatype.insight.ci.hudson.WorkSpaceScanner.scan(WorkSpaceScanner.java:59)
at com.sonatype.insight.ci.hudson.PostBuildScan.perform(PostBuildScan.java:139)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1844)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step ‘IQ Policy Evaluation - post-build’ marked build as failure
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE

Thanks ,
Nagashree.B


#2

Hi Nagashree - Policies are not changed between upgrades. The error points to the IQ Server not set in the configuration. Please check the Global Configuration of the Nexus Platform Plugin and make sure the address of the IQ server has been set:

ERROR: Build step failed with exception
java.lang.IllegalArgumentException: Nexus IQ Server address has not been configured
at com.sonatype.insight.ci.client.Context.(SourceFile:37)
at com.sonatype.insight.ci.hudson.InsightLink.context(InsightLink.java:198)

Fernando