Your project also contains SNAPSHOT dependencies so that should not be deployed as a release either. It should fail the build (not sure if it actually does right now though, but if not you should expect it to in the future.
https://github.com/jenkinsci/keeper-secrets-manager-plugin/blob/main/pom.xml#L56 U related you are also pulling in newer versions of guava and guice for testing than Jenkins provides, this is potentially problematic https://github.com/jenkinsci/jep/blob/master/jep/233/README.adoc On Tuesday, 16 November 2021 at 06:44:28 UTC [email protected] wrote: > I'm more worried about the warning. > > Why doesn't consume-incrementals exist? Isn't that requirement #1 for CD? > https://www.jenkins.io/doc/developer/publishing/releasing-cd/ > > > https://github.com/jenkinsci/archetypes/blob/master/common-files/.mvn/extensions.xml > > seems to exist, but not in > https://github.com/jenkinsci/keeper-secrets-manager-plugin/tree/main/.maven > and considering the > https://github.com/jenkinsci/keeper-secrets-manager-plugin/commit/a6ffbc9faad2bd861b5ccb4ed013bae9dfb5d45a > > someone explicitly added the 99999 version number. > > > On Mon, Nov 15, 2021 at 10:35 PM 'jsupun' via Jenkins Developers < > [email protected]> wrote: > >> Getting closer. When running the cd.yaml I'm getting an error for the >> release step. >> >> [WARNING] The requested profile "consume-incrementals" could not be >> activated because it does not exist. >> 177 >> <https://github.com/jenkinsci/keeper-secrets-manager-plugin/runs/4220147179?check_suite_focus=true#step:4:177>[ERROR] >> >> Failed to execute goal >> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) >> on project keeper-secrets-manager: Failed to deploy artifacts: Could not >> transfer artifact >> io.jenkins.plugins:keeper-secrets-manager:hpi:1.0-999999-20211116.032450-1 >> from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): >> transfer failed for >> https://repo.jenkins-ci.org/releases/io/jenkins/plugins/keeper-secrets-manager/1.0-999999-SNAPSHOT/keeper-secrets-manager-1.0-999999-20211116.032450-1.hpi, >> >> status: 409 Conflict -> [Help 1] >> >> I'm not sure what "release handling policy" I'm violating. If I had to >> guess it would be the version number. I would assume at some point the >> 999999 would be replace by something, but not sure where. Or I've not setup >> up something with Artifactory? >> >> Repo is https://github.com/jenkinsci/keeper-secrets-manager-plugin >> >> Thanks, >> John >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/40753f0d-cb96-49eb-a523-6847a1990df5n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/40753f0d-cb96-49eb-a523-6847a1990df5n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/98aa8916-9428-4e1c-b563-4c584d88e054n%40googlegroups.com.
