开源软件名称(OpenSource Name):jenkinsci/archetypes开源软件地址(OpenSource Url):https://github.com/jenkinsci/archetypes开源编程语言(OpenSource Language):Java 76.1%开源软件介绍(OpenSource Introduction):IntroductionMaven archetypes to help you create new components involving Jenkins, such as plugins. UsageTo see all currently released archetypes and pick one to instantiate: mvn archetype:generate -Dfilter=io.jenkins.archetypes: It is also possible to run this noninteractively: mvn archetype:generate -B -DarchetypeGroupId=io.jenkins.archetypes -DarchetypeArtifactId=empty-plugin -DhostOnJenkinsGitHub=true -DarchetypeVersion=1.7 -DartifactId=somefeature In olden times, people used The NetBeans IDE also offers a plugin for Jenkins development which offers a Jenkins plugin archetype via the File » New Project wizard. If you have defined a mirror like this in your <mirror>
<id>repo.jenkins-ci.org-all</id>
<url>https://repo.jenkins-ci.org/public</url>
<mirrorOf>*</mirrorOf>
</mirror> ChangesSee GitHub Releases for changes. For older versions, see the archive. DevelopmentTo create a new archetype, file a pull request creating a new
Archetypes are expected to use technologies hosted in @jenkinsci (or a few other places pulled in by Jenkins core, such as @stapler).
Other archetypes can be developed in a mvn -B release:{prepare,perform} In addition to needing write permission to this repository, you must have been preauthorized to deploy to the Artifacts will appear on Maven Central after a few minutes. But as noted in OSSRH-34275, the catalog only gets regenerated weekly; to check it: curl -s http://repo1.maven.org/maven2/archetype-catalog.xml | xmlstarlet sel -R -I -t -c '//archetype[groupId="io.jenkins.archetypes"]' If testing their appearance, be sure to use a clean environment: docker run -ti --rm --name mvn --entrypoint /bin/bash maven:3.8.3-jdk-8 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论