Jenkins
Google Summer of Code 2023
Coding Midterm Demos
Jenkins Online Meetup, July 6, 2023
Jenkins Online Meetup
2
Questions & Answers
// Code of Conduct:
3
Agenda
4
Google Summer Of Code
5
Jenkins In GSoC 2023
https://www.jenkins.io/projects/gsoc/
6
2023 Jenkins GSoC Contributors
7
Jagruti Tiwari
Harsh Pratap Singh
Vandit Singh
Ashutosh Saxena
Project Presentations
8
by GSoC Contributors
Add Probes to "Plugin Health Score"
GSoC Contributor:
Mentors:
9
Agenda
10
What is the Plugin Health Score project?
11
Why I Proposed to Add “Probes” for My GSoC Project
and realistic grade.
by the community are followed.
12
About me
Work
Open Source
GSoC
13
Unreleased Production Changes Probe
Introduction
Importance
Details
14
Unreleased Production Changes Probe
Challenges
The fun part
15
The Third-Party Repository Detection Probe
Introduction
Probe Details
Importance
16
The Third-Party Repository Detection Probe
Challenges
Probe status
What did I learn?
17
GitHub Security Scan Workflow Probe
Introduction
Probe Details
Importance
18
GitHub Security Scan Workflow Probe
Challenges
Probe status
What did I learn?
19
What About the Second Half of GSoC?
20
What I Want to Learn Next?
21
Questions?
22
23
GitLab Plugin Modernization
Contributor - Harsh Pratap Singh
Mentors - Mark Waite, Basil Crow, Kris Stern, Freyam Mehta
About Me :i
Hi! I am HARSH PRATAP SINGH, an Open Source enthusiast from India.
My interests lie in rapidly evolving Computer Science fields like DevOps and Blockchain, and non technical fields like Economics, Philosophy and many more interesting stuff :)
Currently a Undergrad Freshman at Indian Institute of Technology, Kanpur pursuing Geotechnological Engineering.
Started contributing to Jenkins from February 2023 and got hooked since then.
Check me out! - GitHub and Twitter
y
About the Project
What?
The GitLab Plugin enables seamless interaction between
Jenkins and GitLab. This project replaces
the usage of very old RESTEasy library with GitLab4J-API
via GitLab API Jenkins Library Plugin.
Why?
How?
This is what this presentation aims to convey! Lets see :)
Journey Till Now.
I was just 2 month old to programming when i started peeking into the Jenkins community and I think it helped me a lot gaining practical experience in Software Engineering.
What I learned? Quite a lot
Progress till now :
What Has Changed?
Migration should be like MAGIC, in which the end-user doesn’t
even feel that something inside has changed. Ideally! But…
Over the years GitLab has evolved, thus
during the migration we found out that the plugin will have
Removal of GitLab API V3 support soon as GitLab has dropped V3
and only supports V4 of its API currently.
Thus, we encourage V3 users to switch to V4 as soon as possible.
Minimum GitLab version - 14.0
Minimum Jenkins version - 2.387.3
Demo
Let’s see if it works LIVE or not!!
Journey Ahead…..
Following things have to be done during the 2nd Phase :
References
Learn more about the project - Project Page
Join us for project discussions - Gitter Channel
Project meetings - Notes and Recordings
See code, file an issue or request - GitHub Repository Link
THANK YOU!
especially to my lovely mentors,
the supportive community,
and for your patient listening
Questions?
GSoC Contributor: Vandit Singh
Mentors: Mark Waite, Kris Stern,
Yiming Gong, Rajiv Singh
About Me
Hi, I’m Vandit Singh, a computer science engineering undergraduate student from India. In July 2022, I began contributing to Jenkins. Technologies that interests me are DevOps, Web Development and building things.
I love open source since it will take over proprietary software in the near future and I love working with like minded communities from around the world ;)
Connect with me:
table of contents
Project Description
01.
04.
02.
05.
03.
Milestones Achieved
What was planned
Demo
Questions
My project aims to build the currently hosted jenkins.io site with Antora and Gatsby because Awestruct which we use currently for site generation has been under maintained since last 2 year.
Why Antora?
Antora provides versioning for documentation. Due to which we will be providing versioned documentation to Jenkins users. It means the users can look up for documentation of the Jenkins LTS version they are using.
Why Gatsby?
Gatsby is famous for its fast builds, secure, and powerful websites using a React-based framework rest of the site will be made using Gatsby.
Milestones Achieved
The user documentation has been migrated
2. Developer Documentation
The developer documentation has been migrated
3. Tutorials
The Tutorials have been migrated
4. Guides
The Guides have been migrated
5. Solutions Page
Still under progress
03.
What was Planned
What
was
Planned
It was planned to generate the entire site with Antora
Antora
Gatsby
Gatsby will be used to generate blogs section only
YAML Files
YAML files that are used to generate pages like changelogs etc. will be generated via Gatsby
Antora
It was planned to generate the entire site with Antora
Now, only the documentation will be build by Antora
Changes
Gatsby
Gatsby will be used to generate blogs section only.
Now, Gatsby and strapi will be used for rest of the site
YAML Files
YAML files that are used to generate pages like changelogs etc. will be generated via Gatsby.
Will be built by Gatsby
Changes are after community feedback : Link to the discussion
Issues We Faced
reports.jenkins.io was refusing requests from the hosted github pages because of CORS. But it will be resolved when infra team hosts the actual documentation site
Antora was supposed to integrate the search feature in the Extension Index page, but it was unable to, thus Gatsby will be used instead.
In contrast to awestruct, Antora makes references differently to other pages.
In contrast to awestruct, Antora makes references differently to other pages. Alot of manual correction!
04.
Demo Site via GitHub pages
Because personally I won’t believe anyone without any actual proof ; )
05.
Future Plans
Future
Plans
i. Complete the rest of the work in the
documentation site i.e fix interpage linking
ii. Solutions page layout
iii. Start working on blogs and site pages for security, advisories, changelogs, download.
06.
Questions
Interested in the project?
Gitter
Github
Repositories
Project
Plan
This is where we talk about how things are progressing
We have two repositories that are crucial for the project
This is where we keep a track of everything on a weekly basis
Project Plan is hosted on github wiki
Thank You!
Docker-Based Jenkins
Quick Start Examples
GSoC Contributor :
Mentors :
What’s the Problem?
01
Let Me Paint a Picture
Let’s see what users first experience of Jenkins looks like: -
Problems?
02
How are We Solving This?
Intimidating Steps
Security Risk of Running jobs on Controller
What About Other Tutorials?
That’s It
And yes, everything works with Gitpod, with just a click!
Demo Time!!
What I Learned?
What’s Next?
Adding more Tutorials
Adding more tutorials and integrating them with ./jenkins_init.sh
Testing with GitHub Actions & ci.jenkins.io
All the tutorial files and scripts will be tested regularly
Developing concise and easy to understand documentation for new and updated tutorials
Documentation
Windows Support
Adding support for windows without WSL
Questions?
Thank you
More Resources
65
Jenkins Upcoming Events
66
Thank You!
67