Link Search Menu Expand Document

Demos about how to use these actions

The Demo project can teach you how to use these actions.

Language Demos

The following demos define the best practice of compiling your projects by using Jenkinsfile-runner Actions. After going through these demos to get inspiration, you can choose the most suitable actions for your project.

Advanced Usage

The following examples show how to configure your ephemeral Jenkins instances and plugins. Each of them needs JCasC to be set up. If you want to debug new JCasC settings, testing in your local Jenkins controller is highly recommended. After local testing, you can directly copy the related JCasC for your ephemeral Jenkins instance on the GitHub Actions runners.

  • Jenkins secrets demo: How to use the secrets in the pipeline. It aims at using GitHub secrets to enhance security instead of using extra Jenkins plugins.
  • Jenkins environment variables demo: How to declare the environment variables in the GitHub workflow definitions and map them into the Jenkins pipelines.
  • s3-artifact-manager demo: How to store the pipeline results to an external storage by using s3-artifact-manager plugin.
  • Pipeline cache demo: How to reuse the dependencies downloaded before in such a FaaS context by uisng jobcacher plugin.
  • Remote agent demo: How to trigger the building in the remote agents. This example will be useful if you think the computation resources provided by GitHub is not enough or you need to compile the projects in different operating systems.