在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):wcm-io-devops/jenkins-pipeline-library开源软件地址(OpenSource Url):https://github.com/wcm-io-devops/jenkins-pipeline-library开源编程语言(OpenSource Language):Groovy 99.7%开源软件介绍(OpenSource Introduction):Jenkins Pipeline LibrarySince Jenkins Pipeline has reached a certain state of production scripted pipelines are the way to go. But: Not everything known from the UI is available in Pipeline and configuring and writing scripts is not so easy for the normal developer. The target of this library is to take out some complexity (and yes
adding some too) of the pipeline creation and to bring back some known
functionality (for example Want to see an example? Have look at Usage examples Table of contents
Key conceptsThe pipeline library was developed with a focus to ease Java and Maven build processes within companies which have a more or less similiar project structure e.g.
The assumption is that in these environments
So the key concepts of the pipeline enable you to
to builds. Running this pipeline library will result in more structured and easier to maintain pipeline scripts. Configured properly this library enables you to checkout scm with these lines of code: import static io.wcm.devops.jenkins.pipeline.utils.ConfigConstants.*
checkoutScm( (SCM) : [
(SCM_URL) : "[email protected]/group/project.git",
]
) Or running maven with local and global maven settings with these lines of code: import static io.wcm.devops.jenkins.pipeline.utils.ConfigConstants.*
execMaven(
(SCM) : [
(SCM_URL) : "[email protected]/group/project.git",
],
(MAVEN): [
(MAVEN_GOALS) : [ "clean", "install" ]
]
) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论