Search⌘ K
AI Features

Exploring Quickstart Project Files

Explore the various project files generated by Jenkins X when creating quickstart projects. Understand the role of key files like Makefile, Dockerfile, Skaffold configuration, Helm charts for Kubernetes deployment, and the pipeline definition file jenkins-x.yml. Learn how Jenkins X integrates with GitHub to automate your CI/CD pipeline triggers.

Exploring the Github repository

Let’s see what Jenkins X created and pushed to GitHub.

⚠️ Please replace [...] with your GitHub username before executing the commands that follow.

Shell
GH_USER=[...]
open "https://github.com/$GH_USER/jx-go"

We can see that Jenkins X created quite a few files.

GitHub repository with a newly created Jenkins X quickstart project
GitHub repository with a newly created Jenkins X quickstart project

Exploring the local project repository

The repository was also created locally, so let’s take a closer look at the generated files.

Shell
cd jx-go
ls -1

The output is as follows:

C++
Dockerfile
Makefile
OWNERS
OWNERS_ALIASES
README.md
charts
curlloop.sh
jenkins-x.yml
main.go
skaffold.yaml
watch.sh

The Makefile

Let’s go through each of those files and directories and explore what we got. The first in line is Makefile.

Shell
cat Makefile

I won’t go into much detail about the Makefile since it is made specifically for Go applications, and that might not be your favorite language. Not all quickstart packs use ...