Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3790

Fix Platform CI deployment broken by Nexus plugin unavailable

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration

      Description

      As explained in NXBT-3774, the Nexus plugin installation is not automated.
      Yet, we deploy its configuration with https://github.com/nuxeo/platform-ci/commit/2b211c07ca00d4aac560e548d6ddee3a26dd428d, see NXP-32153.
      This leads to the following error when deploying the platform-ci repository:

      2024-03-05 10:15:00.450+0000 [id=1721897]	SEVERE	i.j.p.casc.ConfigurationAsCode#doReload: Failed to reload configuration
      io.jenkins.plugins.casc.UnknownAttributesException: unclassified: Invalid configuration elements for type: class jenkins.model.GlobalConfigurationCategory$Unclassified : globalNexusConfiguration.
      Available attributes : administrativeMonitorsConfiguration, artifactManager, bitbucketEndpointConfiguration, buildDiscarders, builtInNode, casCGlobalConfig, defaultDisplayUrlProvider, defaultFolderConfiguration, defaultView, envVarsFilter, fingerprints, gitHubConfiguration, gitHubPluginConfig, globalDefaultFlowDurabilityLevel, globalLibraries, jiraGlobalConfiguration, jiraStepsConfig, junitTestResultStorage, location, lockableResourcesManager, mailer, metricsAccessKey, myView, nodeProperties, plugin, pollSCM, projectNamingStrategy, quietPeriod, rebuildDescriptor, resourceRoot, scmGit, scmRetryCount, shell, slackNotifier, timestamper, usageStatistics, viewsTabBar, warningsParsers, warningsPlugin
      	at io.jenkins.plugins.casc.BaseConfigurator.handleUnknown(BaseConfigurator.java:389)
      	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:374)
      	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:830)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:773)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:830)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:816)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:695)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:352)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.doReload(ConfigurationAsCode.java:176)
      	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
      

      Since:

      • There are small chances that the Nexus plugin becomes officially available, which would allow to handle NXBT-3774.
      • The Nexus plugin is only used for the 10.10 build and release pipelines

      Let's remove the Nexus plugin configuration to avoid the Platform CI deployment issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: