Closed basil closed 8 months ago
Reproduction from a clean base (as ci.jenkins.io does not fail due to artifacts being cached in ACP for now)
$HOME/.m2
directory to ensure no cache and no Maven predefined settingsmvn clean verify -DskipTests
Then, as Artifactory administrator:
atlassian
or jcenter
repositories => it was in jcenter
jcenter-orphans
filter to allow artifacts matching the pattern com/atlassian/pom/**/*
mvn clean verify -DskipTests -U
(the -U
flag forces Maven to update artifacts in the local cache) which succeeded and the artifacts are now visible on https://repo.jenkins-ci.org/public$HOME/.m2
directory and running from scratch (again) the mvn clean verify -DskipTests
command@basil can you confirm it is ok for you with the changes by closing the issue?
Rather suggest upgrading the Jira dependency in declarative-pipeline-migration-assistant
to a version that doesn't require any Atlassian dependencies from jcenter
.
Rather suggest upgrading the Jira dependency in
declarative-pipeline-migration-assistant
to a version that doesn't require any Atlassian dependencies fromjcenter
.
I'm not sure if your comment ask the infra team to do it, or you or someone else. I'm not willing to do it as I don't have enough time to dig in a dependency upgrade case, sorry :|
Rather suggest upgrading the Jira dependency in
declarative-pipeline-migration-assistant
to a version that doesn't require any Atlassian dependencies fromjcenter
.I'm not sure if your comment ask the infra team to do it, or you or someone else. I'm not willing to do it as I don't have enough time to dig in a dependency upgrade case, sorry :|
I'm interested in doing that upgrade. It will help that plugin in several ways. Submitted as:
Closing as https://github.com/jenkinsci/declarative-pipeline-migration-assistant-plugin/pull/237 is merged.
If we misunderstood or missed something, please reopen with a pointer.
Now that https://github.com/jenkinsci/declarative-pipeline-migration-assistant-plugin/pull/237 has been merged, has the temporary workaround added in https://github.com/jenkins-infra/helpdesk/issues/3872#issuecomment-1862359367 been removed?
Now that jenkinsci/declarative-pipeline-migration-assistant-plugin#237 has been merged, has the temporary workaround added in #3872 (comment) been removed?
I don't think that the workaround can be removed without breaking the compilation of previous versions of the plugin. Have I missed something in that process?
Indeed, though I do not think supporting compilation of previous versions of plugins with unusual configurations should be a goal, as this would impose a heavy operational cost (in terms of workarounds like the above with an unbounded expiration date) for too small a benefit. For example, not all previous versions of the Jira plugin compile right now after the recent Artifactory changes, and I think this is fine. If it were a goal, then we should have tested not only compilation of the main branch of the top 200 plugins but also compilation of every previous version of the top 200 plugins. I think the calculus for old versions of core is different — we should strive to support compilations of old versions of core (e.g. with the older jbcrypt
) since the fact that many plugins depend on core results in the impact being far greater.
Thanks. I see your point.
Now that jenkinsci/declarative-pipeline-migration-assistant-plugin#237 has been merged, has the temporary workaround added in #3872 (comment) been removed?
com/atlassian/pom/**/*
has been removed from jcenter-oprhans
mirror repository.Now that jenkinsci/declarative-pipeline-migration-assistant-plugin#237 has been merged, has the temporary workaround added in #3872 (comment) been removed?
* The pattern `com/atlassian/pom/**/*` has been removed from `jcenter-oprhans` mirror repository. * A build on ci.jenkins.io has been triggered to check the impact: https://ci.jenkins.io/job/Plugins/job/declarative-pipeline-migration-assistant-plugin/job/master/164/console * Currently running a build from scratch locally
Both builds are successful. I believe we should be able to close the issue: is that ok for you @basil (or did I miss something)?
No, thank you very much!
Service(s)
Artifactory
Summary
declarative-pipeline-migration-assistant-plugin
, which is in BOM, no longer seems to compile.mvn clean verify -DskipTests
shows:I confirmed the plugin was building correctly after:
I didn't confirm that the plugin was building correctly after:
Reproduction steps
Run
mvn clean verify -DskipTests
and confirm that the plugin no longer compiles.