configuration-as-code-plugin/demos
Stefan Spieker 9ea946218b
Added demo for thinBackup (#2722)
2025-10-06 21:37:39 +00:00
..
active-directory Show how to require TLS on Active Directory (#2523) 2024-07-18 16:53:53 +01:00
alauda-devops-sync 🗑️ Codacy markdown issues (#848) 2019-04-20 15:50:58 +02:00
artifact-manager-s3 Move YAML examples from integration tests to the demos (#1055) 2019-09-25 08:52:51 +02:00
artifactory Update documentation for Artifactory Demo (#1813) 2021-12-21 11:58:52 +00:00
build_agents Adding test coverage for deprecated `JNLPLauncher.tunnel` (#2441) 2023-12-19 23:09:42 +00:00
config-file-provider Validate config-file-provider demo with the integrations framework (#1083) 2019-09-29 18:22:36 +01:00
credentials Add `decodeBase64` substitutor for reading base64-encoded variables (#1526) 2020-11-02 15:54:45 +01:00
docker doc: update Docker Cloud examples (#1960) 2022-04-25 08:28:42 +01:00
docker-workflow Update docker-workflow and pipeline-model-definition 2020-06-08 21:08:14 +01:00
ec2 Update dependency io.jenkins.tools.bom:bom-2.479.x to v4583 (#2656) 2025-04-09 17:18:23 +00:00
embedded-userdatabase Add SSH and TimeZone integration tests (#1912) 2022-06-20 13:43:08 +01:00
external-workspace-manager Removing tests of `Jenkins.agentProtocols` (#2580) 2024-10-28 17:49:00 +00:00
git Improve git plugin and git client plugin examples (#2414) 2023-11-23 15:55:54 +00:00
git-client Improve git plugin and git client plugin examples (#2414) 2023-11-23 15:55:54 +00:00
gitea added gitea demo to list of demos (#1566) 2021-06-07 10:45:34 +01:00
github Validate github demo with the integrations framework (#1109) 2019-10-10 07:46:47 +01:00
github-oauth Validate github-oath demo with the integrations framework (#1086) 2019-09-29 21:00:26 +01:00
gitlab Validate gitlab demo with the integrations framework (#1087) 2019-09-29 20:59:11 +01:00
global-matrix-auth Add example for matrix-auth version 3.0 (#2174) 2022-11-25 15:04:15 +00:00
golang added demo for Golang Plugin (#2014) 2022-06-30 09:26:55 +02:00
google-login add some more helpful info in the readme 2018-10-25 16:01:55 +02:00
graphite Cleanup master/slave terminology from documentation + Cleanup "Jenkins master" term from the warning in the Web UI (#1481) 2020-11-03 17:51:39 +01:00
jdk doc: rewrite JDK installation example using AdoptOpenJDK installer (#1849) 2022-02-06 15:02:53 +00:00
jenkins Clarifying documentation (#2382) 2023-10-07 10:32:01 +01:00
jira Move jira ITs to the demos (#1088) 2019-09-29 20:59:28 +01:00
jobs Add Gitea demo configuration for jobs (#1791) 2021-12-10 07:36:10 +00:00
kubernetes fix typo "avanced" (#2167) 2022-11-13 09:50:22 +00:00
kubernetes-helm Update shadwell/k8s-sidecar Docker tag to v0.0.7 2023-03-27 05:12:33 +00:00
kubernetes-secrets 🗑️ Codacy markdown issues (#848) 2019-04-20 15:50:58 +02:00
ldap SecretResolver support file and base64 variable expansion (#1408) 2020-07-19 04:37:52 +02:00
log-recorder Add log recorders demo / test (#1301) 2022-05-18 19:15:18 +01:00
mailer Move YAML examples from integration tests to the demos (#1055) 2019-09-25 08:52:51 +02:00
matrix-auth Move matrix-auth ITs to the demos (#1091) 2019-09-30 11:35:53 +01:00
maven doc: add examples for Maven configuration (#1850) 2022-02-06 16:38:30 +00:00
mercurial Move mercurial ITs to the demos (#1089) 2019-09-29 20:59:51 +01:00
msbuild Validate MSBuild plugin compatibility (#1318) 2020-03-11 19:46:05 +00:00
mstestrunner Add integration test for MSTestRunner (#1328) 2020-03-17 19:23:21 +01:00
node-monitors [JENKINS-64816] support for node monitors in CasC (#2392) 2023-11-23 22:48:18 +00:00
nodejs Add demo for the NodeJS plugin (#1153) 2019-10-11 23:33:35 +02:00
pipeline-groovy-lib [JENKINS-57023] Switch dep from `workflow-cps-global-lib` to `pipeline-groovy-lib` (#1973) 2022-05-25 08:53:56 +02:00
pipeline-maven doc: add examples for Maven configuration (#1850) 2022-02-06 16:38:30 +00:00
proxy Bump baseline jenkins core to 2.222 for milestones / system rea… (#1293) 2020-02-29 15:08:11 +00:00
role-strategy-auth Fix authenticated users as group (#2533) 2024-07-17 16:28:27 +00:00
saml Adding saml plugin config in demo (#865) 2019-04-26 11:04:14 +01:00
sbt Update dependency io.jenkins.tools.bom:bom-2.479.x to v3944 (#2626) 2025-01-18 00:54:45 +00:00
simple-theme-plugin Update README.md 2023-09-14 08:17:44 +00:00
slack Validate slack demo with the integrations framework (#1118) 2019-10-07 14:14:09 +01:00
sonarqube Bump sonar from 2.7 to 2.13.1 (#1664) 2021-08-07 15:57:00 +01:00
statistics-gatherer Validate statistics-gatherer demo with the integrations framework (#1119) 2019-10-05 21:26:00 +02:00
terraform bump terraform to 1.0.10 (#1380) 2020-05-19 18:37:48 +02:00
tfs docs prettier formatting & cleanup (#831) 2019-04-17 12:55:25 +02:00
thin-backup Added demo for thinBackup (#2722) 2025-10-06 21:37:39 +00:00
view-job-filters Adding Demo for View-Job-Filters plugin (#1603) 2022-10-13 08:24:49 +01:00
README.adoc Add links to Demos documentation (#2447) 2024-01-02 14:31:29 +00:00

README.adoc

= Demos

Short overview for all examples in this directory

== How to use

Each directory contains `README.md` file with description about particular part of Jenkins configuration and `*.yaml` examples for correct setup.
To use provided example just add that YAML configurations in your main configuration file at the proper level.
If additional files are required it will be described in `README.md` file.

== Contributing

To add new demo prepare `README.md` file with description for your example and YAML configuration which allows bring it to work.
Provide all not obvious tricks and tips.

If your configuration has multiple options it would be perfect if you could provide full and minimal versions in two different `*.yaml` files.
If configuration requires additional files (like Kubernetes) add them too.

*All provided configurations in demo have to be tested:*

* create test class for your demo
* use https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/test-harness/src/main/java/io/jenkins/plugins/casc/misc/JenkinsConfiguredWithReadmeRule.java[`JenkinsConfiguredWithReadmeRule`] to get configuration from your `README.md` file
* implement https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/test-harness/src/test/java/io/jenkins/plugins/casc[test cases] for your demo to cover whole configuration
* for example check `ArtifactoryTest` and others.
See also https://github.com/jenkinsci/configuration-as-code-plugin/pull/1055[PR #1055]

== Notice

* Some options are supported from a specific version - some of them may not be applicable to all JCasC plugin versions.