## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Mark Waite
@MarkEWaite
@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
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]

I get 19 errors from which 17 are caused by test timed out exceptions. One of them is from the job not been triggered. Can anyone suggest me when I can start by looking into these errors? When I run the same clone on gitpod, it works fine passing all the testcases.

Expected: is <SUCCESS>
but: was <FAILURE>
[ERROR] JGitSCMTriggerRemotePollTest>SCMTriggerTest.testNamespaces_with_refsHeadsMaster:63->SCMTriggerTest.check:253 Job has not been triggered
[ERROR] Errors:
[ERROR] GitPublisherTest.testForcePush:647->AbstractGitProject.build:205->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] GitPublisherTest.testMergeAndPushWithCharacteristicEnvVar:765->checkEnvVar:847->AbstractGitProject.build:205->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] GitPublisherTest.testMergeAndPushWithSkipTagEnabled:699->AbstractGitProject.build:205->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] GitSCMTest.testBasicExcludedRegion:1094 » TestTimedOut test timed out after 18...
[ERROR] GitSCMTest.testEmailCommitter:1802->AbstractGitTestCase.build:246->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] GitStatusTest.testDoNotifyCommitWithDefaultUnsafeParameterC:569->doNotifyCommitWithDefaultParameter:607->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] RevisionParameterActionTest.testProvidingRevision:51->AbstractGitProject.build:205->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] BuildSingleRevisionOnlyTest.testMultiRevision » TestTimedOut test timed out af...
[ERROR] CloneOptionHonorRefSpecTest.testRefSpecWithExpandedVariables:144->AbstractGitTestCase.build:246->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] MessageExclusionTest.test:37->GitSCMExtensionTest.build:51->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] UserExclusionTest.test:39->GitSCMExtensionTest.build:51->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] AbstractGitSCMSourceTest.retrieveRevision_customRef:629->Object.wait:502->Object.wait:-2 » TestTimedOut
[ERROR] BrowsersJCasCCompatibilityTest>RoundTripAbstractTest.lambda$roundTripTest$0:111->RoundTripAbstractTest.applyConfigViaWebUI:182 » TestTimedOut
[ERROR] GitSCMFileSystemTest.ofSourceRevision:138 » TestTimedOut test timed out after ...
[ERROR] GitStepTest.changelogAndPolling:132 » TestTimedOut test timed out after 180 se...
[ERROR] GitStepTest.roundtrip_withcredentials » TestTimedOut test timed out after 180 ...
[ERROR] GlobalLibraryWithLegacyJCasCCompatibilityTest>RoundTripAbstractTest.lambda$roundTripTest$0:111->RoundTripAbstractTest.applyConfigViaWebUI:182 » TestTimedOut
[ERROR] MergeWithGitSCMExtensionTest.testBasicMergeWithSCMExtension » TestTimedOut tes...
[INFO]
[ERROR] Tests run: 4732, Failures: 2, Errors: 19, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:44 min
[INFO] Finished at: 2022-02-23T02:55:26-05:00

7 replies
Aaryan Gautam
@aaryan-gautam:matrix.org
[m]

they are both running maven version 3.8.4 but the java versions are different

(local)
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: C:\Maven
Java version: 1.8.0_311, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_311\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

(gitpod)
Picked up JAVA_TOOL_OPTIONS: -Xmx3435m
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /home/gitpod/.sdkman/candidates/maven/current
Java version: 11.0.13, vendor: Azul Systems, Inc., runtime: /home/gitpod/.sdkman/candidates/java/11.0.13.fx-zulu
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.13.0-1015-gcp", arch: "amd64", family: "unix"

Hrushikesh
@Hrushi20
Hey, I have submitted a pull request regarding issue JENKINS-54868. This is a basic version which can be modified to get the desired feature. Open for any kind of suggestions.
Pull Request: jenkinsci/git-plugin#1226
15 replies
Kris Stern
@krisstern:matrix.org
[m]
That's great @MarkEWaite!
Kris Stern
@krisstern:matrix.org
[m]
I don't think that is a good idea, but what is the stack trace for the errors thrown?
Kris Stern
@krisstern:matrix.org
[m]
So some parts in the URL pattern can be made optional to satisfy the requirements