About the MVN Jenkins upgrade issue

26 views
Skip to first unread message

hongkeung ling

unread,
Jan 11, 2023, 8:05:15 AM1/11/23
to Jenkins Developers
hi! I created the hello word skeleton through MVN, but when installing some plugins, it is prompted that Jenkins is an old version, please teach how to upgrade the Jenkins version in the skeleton, I hope to get a reply, thank you!

mvn cmd:
mvn archetype:generate -B -DarchetypeGroupId=io.jenkins.archetypes -DarchetypeArtifactId=hello-world-plugin -DhostOnJenkinsGitHub=true -DarchetypeVersion=1.7 -DartifactId=hello

Mark Waite

unread,
Jan 11, 2023, 8:21:28 AM1/11/23
to Jenkins Developers

Daniel Beck

unread,
Jan 12, 2023, 6:37:00 AM1/12/23
to jenkin...@googlegroups.com


On Wed, Jan 11, 2023 at 2:05 PM hongkeung ling <lingho...@gmail.com> wrote:
-B … -DarchetypeVersion=1.7

This specifically chooses a really old version of the archetype. Don't do that.

But note that even the latest archetypes depend on a slightly older version of Jenkins than is current. I recommend you mostly ignore the message informing you about newer Jenkins releases. To learn more, https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ is our documentation on the topic.

hongkeung ling

unread,
Jan 12, 2023, 9:05:18 AM1/12/23
to Jenkins Developers
Thank you so much!
Reply all
Reply to author
Forward
0 new messages