## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Kris Stern
@krisstern:matrix.org
[m]
Welcome @khamarshaikh
vandana_jha
@vandana_jha:matrix.org
[m]
Hello everyone, I am Vandana Jha and I am here to contribute on the project Automatic Specification Generator for Jenkins REST API. I have already gone through the project ideas of jenkins.
Kris Stern
@krisstern:matrix.org
[m]
Hi vandana_jha Welcome!
Archit
@Aviii06
@MarkEWaite does there exist some older jenkins infrastructure regarding the automatic maintenance? or are we going to build it from scratch.
Mark Waite
@MarkEWaite
@Aviii06 I assume the automatic maintenance would reuse the Jenkins concepts of scheduling work (cron style) to report on the need for maintenance and to schedule maintenance tasks. We'd need a UI to control the scheduling and would likely need some throttling mechanism so that the maintenance does not create an undue burden on the controller at any one time.
SahityaGupta25
@SahityaGupta25
Hi Guys, I am new to open source can anyone suggest me how to start with contribution.
Mark Waite
@MarkEWaite
Sure @SahityaGupta25 . Refer to the https://www.jenkins.io/participate/ for general areas where you can contribute. If one of them is more interesting to you, choose that one. The GSoC project ideas at https://www.jenkins.io/projects/gsoc/2022/project-ideas/ offer good opportunities to contribute and consider. Google Summer of Code office hours meet once a week as described at https://www.jenkins.io/projects/gsoc/#office-hours
@SahityaGupta25 if you'd like a more specific project, you could contribute by updating one or more of the git client plugin tests from JUnit 3 to JUnit 4. See https://issues.jenkins.io/browse/JENKINS-60940 for a description of the techniques being used.
SahityaGupta25
@SahityaGupta25
@MarkEWaite Thank you sir.
Utkarsh Tiwari
@DevUt
Hey guys! :grin: do we have mentor for the plugin health project yet ?
halkeye
@halkeye:g4v.dev
[m]

@DevUt: in an async environment, its usually good practice to not ask yes/no questions, but instead ask questions with details/context.

"Do we have a mentor for the plugin health project yet?"
12 hours later
"no"
12 hours later
"okay i'm interested"

vs
"I'm interested in helping out as a mentor for the plugin health project, is there a mentor yet?"

you saved a bunch of back and forth (just an example, i have no idea why your asking)

Utkarsh Tiwari
@DevUt
Oops I should have cleared my intent, I was just asking because if we have a mentor for that that means the project is an accepted idea right, so that was the sole reason. Apologies!
Jmm
@jmmeessen:matrix.org
[m]
Hello @DevUt
Yes there are three mentors registered for that project (with one located in France).
I am working on the promotion of the project to "draft" status
I am still working on the PR. It will also give more details about the project itself
I will post here when it is merged
Utkarsh Tiwari
@DevUt
Thanks @jmmeessen:matrix.org much appreciated !
Alyssat
@alyssat
Hi Everyone. Tomorrow is our next GSoC office hours [Asia]. We'll start the meeting by taking questions from GSoC potential participants so come with your questions or add your questions via comments in the gdoc prior to the meeting https://docs.google.com/document/d/1OpvMWpzBKtKnYBAkhtQ1dK5zQix3D7RY5g3vDJXkSnc/edit?usp=sharing
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
I am interested in the automatic git cache maintenance on the Jenkins controller project from the project idea list. Is there a chat that I can join to discuss this idea because the chat provided on the ideas list does not seem to be working
Alyssat
@alyssat
Hi @aaryan-gautam:matrix.org Thank you for your interest. We'll get that link fixed but you are actually on the correct chat channel here. Feel free to chat away.
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
I wanted to know the expected length and size of the project whether its 175 hours (medium) or 350 hours (large) and the page also mentions to "implement similar capabilities to manage the cached copies of git repositories" so I wanted to know what it meant by the similar capabilities that could be added and is there a resource/resources that can be suggested to me for learning about the cached copies and if there are some starter bugs that can help me get familiar and get a better understanding for my proposal for this project
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
:point_up: Edit: I wanted to know the expected length and size of the project whether its 175 hours (medium) or 350 hours (large) so that I can plan out the functionality that my project can include and understand the full scope of the project. I also wanted to inquire about the idea page as it also mentions to "implement similar capabilities to manage the cached copies of git repositories" so I wanted to know what it meant by the similar capabilities that could be added and is there a resource/resources that can be suggested to me for learning about the cached copies and if there are some starter bugs specific to this project that can help me get familiar and get a better understanding for my proposal for this project
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
:point_up: Edit: I wanted to know the expected length and size of the project whether its 175 hours (medium) or 350 hours (large) so that I can plan out the functionality that my project can include and understand the full scope of the project. I also wanted to inquire about the idea page as it mentions to "implement similar capabilities to manage the cached copies of git repositories" so I wanted to know what it meant by the similar capabilities that could be added and is there a resource/resources that can be suggested to me for learning about the cached copies and if there are some starter bugs specific to this project that can help me get familiar and get a better understanding for my proposal for this project
Dheeraj
@dheerajodha

Read the documentation for git maintenance from https://git-scm.com/docs/git-maintenance for ideas of the types of problems that can exist for git repositories and that benefit from maintenance tasks. Consider alternatives available to perform similar maintenance tasks on a Jenkins controller or on Jenkins agents. Explore the scheduling alternatives available with Jenkins. Install a Jenkins controller, create a multibranch Pipeline with a GitHub branch source provider and look at the caches created on the Jenkins controller. Consider how the Jenkins controller created those caches and how a maintenance job would find those caches and schedule the maintenance work on those caches. Compare the maintenance task results with command line git and JGit. Are all the maintenance operations feasible in JGit.

Kris Stern
@krisstern:matrix.org
[m]

Hi Aaryan Gautam Welcome to the community! Regarding the "Automatic git cache maintenance on the controller" project, there are new newbie issues with links at here. While the standard duration of GSoC is 175 hours, it can be hard to gauge whether more time will be needed as every project will be mentored on a case-by-case basis, as the duration has much to do with the GSoC contributor per se. The project length also depends on the scope and number of features you intend to add to the Jenkins controller. The most important thing to note at the beginning is what "git maintenance" is capable of, so that we could also implement this to Jenkins.

On the official git site it says:

The git maintenance command is designed to simplify the repository maintenance patterns while minimizing user wait time during Git commands. A variety of configuration options are available to allow customizing this process. The default maintenance options focus on operations that complete quickly, even on large repositories.

So this could be a point to keep in mind while developing your own proposal for the project idea.

Jmm
@jmmeessen:matrix.org
[m]
FYI: the GSoC project idea "Plugin Health Score" has been promoted to "draft" and its documentation updated. https://www.jenkins.io/projects/gsoc/2022/project-ideas/plugin-health-scoring-system/
Utkarsh Tiwari
@DevUt
Yay!
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
Thank you for the in depth responses! I will start researching and contributing to these issues to gain more exposure.
Alyssat
@alyssat
Wimukthi Indeewara
@Wimukti
Hello, Everyone, I'm Wimukthi, currently studying Computer Science and Engineering and I'm interested in contributing to Jenkins Community. I have been using Jenkins over the past three months and it was simply amazing. Also, I would love to contribute to any of the Jenkins project ideas mentioned in the GSoC 2022. Can someone guide me through the process and help me to get started. Bdw when will be the next GSoC office hour ?
Mark Waite
@MarkEWaite
Welcome to the community @Wimukti ! Office hours are posted on the https://www.jenkins.io/projects/gsoc/#office-hours site. Office hours will be alternating between APAC (Friday 3AM UTC) and EMEA (Thursday 2PM UTC) time zones. You can review the recordings of previous office hours at https://community.jenkins.io/t/jenkins-gsoc-2022-office-hours/1392 . Project ideas are listed at https://www.jenkins.io/projects/gsoc/2022/project-ideas/ . See the event calendar at https://www.jenkins.io/events/
Hrushikesh
@Hrushi20
Hey guys! I am Hrushikesh pursuing my engineering in Computer Science. I am new to Jenkins but I am surprised looking at such an active community. I want to be a part of this community and would like to contribute to any of Jenkins project mentioned in GSoC.
Thank You
Utkarsh Tiwari
@DevUt
Welcome Hrushikesh! 🥳
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
when I run mvn clean verify on my forked cloned repository then I am failing some of the testcases. I have not made any changes. Could someone guide me why this could be happening? I am using an Intellij as my ide.
2 replies
I was looking through the issues and I wanted to ask whether this issue is also something that would be addressed with the git cache maintenance on the controller.
https://issues.jenkins.io/browse/JENKINS-19022
2 replies
Hrushikesh
@Hrushi20
Hey! How do I get started with git-plugin. I cloned the repo and ran mvn clean install. How do I use the plugin? Do I need to install jenkins to use the plugin or can I just run the cloned project locally?
7 replies
Hrushikesh
@Hrushi20
18 replies
Hey Mark! Facing an issue while adding git repo to jenkins. I created a repo on github and added it to an existing jenkin build.
Hrushikesh
@Hrushi20
Hey mark! It looks like an "out of memory error". My ram was running at 90%. After terminating the process, my system returned to normal condition.
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]
when I run mvn clean verify on the cloned version, it takes a long time to run the testcases and slows my computer down. What could be the issue? It starts to take 100% cpu and 90% memory and disk
Hrushikesh
@Hrushi20
Hey! I want to start by fixing this issue https://issues.jenkins.io/browse/JENKINS-54868. I commented my way of approach to this issue. Not sure if that is the best way to proceed. Need some insights regarding implementation of the issue.
Thank You
Kris Stern
@krisstern:matrix.org
[m]
HI @Hrushi20 You could follow up on the issue with a PR and initiate discussion from there, otherwise it would be hard to tell exactly what you mean to do to fix the issue.
You can use the closed PR as a reference.
Hrushikesh
@Hrushi20
Thank You @krisstern:matrix.org . I'll send my PR to initiate a discussion.
Alyssat
@alyssat
Thank you so much to @krisstern:matrix.org, @MarkEWaite, @jmmeessen:matrix.org, @kwhetstone for today's 'Jenkins in GSoC 2022' session. Recording is available at https://youtu.be/GDRTgEvIVBc, slides are here: https://bit.ly/3pbJFuC
Kris Stern
@krisstern:matrix.org
[m]
You are welcome @alyssat
Alyssat
@alyssat
Hi Everyone! The next GSoC office hours [EMEA] is taking place not too long from now - Feb 24, 2022 @ 2PM UTC. We are taking questions before the office hours, so get your questions in the gdoc. Zoom info is in the gdoc as well https://docs.google.com/document/d/1OpvMWpzBKtKnYBAkhtQ1dK5zQix3D7RY5g3vDJXkSnc/edit?usp=sharing
Kris Stern
@krisstern:matrix.org
[m]
Hi everyone,
Added this new project idea for Jenkins Screenshot Automation as a PR just now: jenkins-infra/jenkins.io#4942
4 replies
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]

I am getting the following warning when I try to run mvn clean verify. However, when I try to redirect the -Dfile to Program Files\Java\jdk1.8.0_311\lib\tools.jar, it tells me that the specified file does not exist at the [relative path to]/git/plugin/C:Program. What should I put for -Dfile?

[WARNING] System artifact: com.sun:tools:jar:1.8.0:system has no file attached

Then, install it using the command:
mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.sun:tools:jar:1.8.0

com.sun:tools:jar:1.8.0

Tim Jacomb
@timja
I get that too, haven't looked into it yet but everything works fine as far as I can tell