在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sheehan/job-dsl-gradle-example开源软件地址(OpenSource Url):https://github.com/sheehan/job-dsl-gradle-example开源编程语言(OpenSource Language):Groovy 96.9%开源软件介绍(OpenSource Introduction):Jenkins Job DSL Gradle ExampleAn example Job DSL project that uses Gradle for building and testing. Check out this presentation for a walkthrough of this example (starts around 14:00). File structure
Script Examples
Testing
JobScriptsSpec
will loop through all DSL files and make sure they don't throw any exceptions when processed. All XML output files are written to If you prefer to stub the auto-generated DSL, you can use JobScriptsSpecAlternative, though you may miss some syntax errors. Seed JobYou can create the example seed job via the Rest API Runner (see below) using the pattern Or manually create a job with the same structure:
Note that starting with Job DSL 1.60 the "Additional classpath" setting is not available when Job DSL script security is enabled. Other Resources
Gradle PluginsPlugins that automatically apply the functionality laid out in this example repo.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论