0
0
Jenkinsdevops~5 mins

Jenkins to GitHub Actions path - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Jenkins?
Jenkins is an open-source automation server used to build, test, and deploy software automatically.
Click to reveal answer
beginner
What is GitHub Actions?
GitHub Actions is a tool integrated into GitHub that automates software workflows like building, testing, and deploying code.
Click to reveal answer
intermediate
Name one key difference between Jenkins and GitHub Actions.
Jenkins runs on your own servers or cloud, while GitHub Actions runs inside GitHub's cloud environment.
Click to reveal answer
beginner
How do you define a workflow in GitHub Actions?
You define a workflow using a YAML file placed in the .github/workflows directory of your repository.
Click to reveal answer
beginner
What is a Jenkinsfile?
A Jenkinsfile is a text file that contains the pipeline script to define Jenkins build steps.
Click to reveal answer
Where do GitHub Actions workflows live in a repository?
A.github/workflows directory
Broot directory
Csrc directory
Ddocs directory
Which file defines a Jenkins pipeline?
Abuild.gradle
BDockerfile
CMakefile
DJenkinsfile
What triggers a GitHub Actions workflow by default?
ACron job on Jenkins server
BGitHub events like push or pull request
CJenkins job trigger
DManual server command
Which of these is NOT a benefit of moving from Jenkins to GitHub Actions?
ARequires installing Jenkins plugins
BBuilt-in integration with GitHub repositories
CNo need to manage your own build server
DEasier setup for simple workflows
How do you run multiple steps in a GitHub Actions job?
AUse shell scripts only
BCreate multiple Jenkinsfiles
CList steps under the job in the YAML file
DAdd steps in the Dockerfile
Explain the main steps to convert a Jenkins pipeline to a GitHub Actions workflow.
Think about how Jenkinsfile stages translate into YAML steps and triggers.
You got /5 concepts.
    Describe the advantages of using GitHub Actions over Jenkins for CI/CD.
    Consider ease of use and infrastructure management.
    You got /5 concepts.