Chat for people who just starting contributing to Jenkins or want to do so. https://jenkins.io/participate/
First of all: you should not cross post because you did not get an answer in 5 minutes.
So basically both channels are appropriate for your question. Are you writing the test for your plugin or a test for the configuration-as-code plugin itself? Additionally, what exactly is your "massive trouble", do you have some logs?
Sorry for cross posting. Wasn't sure which one would be better. Won't do this again. 😳
I'm writing a test for how to configure the Gitea plugin (jenkinsci/configuration-as-code-plugin#1791). Tests pass for configuring Gitea servers globally. Now I'd like to add a test for configuring an organization folder with Gitea as "SCM source" using job-dsl. Right now it fails due to missing "branch-api" plugin. The Gitea plugin depends on it. Within the test suite for configuration-as-code that "branch-api" plugin it is already added to the test scope so based on the developers guide for testing with dependent plugins this should work.
In the build logs it says that the plugin does not match the minimum required version (https://github.com/jenkinsci/configuration-as-code-plugin/runs/4341874964?check_suite_focus=true#step:5:556). This confuses me because I've tried to set the version to the latest one and it doesn't work either. That makes me think that the "branch-api" plugin is not loaded at all or failed to load silently.
After experimenting a bit with various job-dsl scripts (e.g. just configuring a freestyle job) it seems to be related to the "organizationFolder" block. Having that in the script to load breaks the test execution and gives that error message. So I'm guessing that I'm not yet at the point where Gitea plugin is active as it breaks prior to that.
@WithPlugin
annotation on the test case, which tries to load the "branch-api" plugin but fails as it depends on two other plugins. I've no idea if this annotation overrides all the other potentially loaded plugins or this is a hint for missing plugins in the test scope. I've added both plugins (cloudbees-folder, scm-api) to the pom.xml but no success.Hi all. I'd want to contribute to the GitLab plugin but I can't register for a new account at https://accounts.jenkins.io/
I get an error page with the message "I am sorry to no be able to answer your request
Feel free to tell me what happened on one of the chat channels: www.jenkins.io/chat/ for details."
Can anyone advise on how to proceed?
Hi everyone!
There are a couple of PRs that fixes the sonar-gerrit-plugin that has been broken for years.
Unfortunately, there is no one to review and approve them.
Can someone help them, please?
jenkinsci/sonar-gerrit-plugin#39
jenkinsci/sonar-gerrit-plugin#38
Wrong channel, this channel is about people who just starting contributing to Jenkins.
Maybe that helps: https://groups.google.com/g/jenkinsci-dev/c/t0Q0UcSAJK4/m/kukgmscqAgAJ
Hi All, I am new to jenkins and was trying to create a simple pipeline using Jenkinsfile from GIT SCM. However while giving the GIT URL for my repository I am getting below error, can someone please help me or redirect my issue to the concerned resource. Thanks
Failed to connect to repository : Error performing git command: git ls-remote -h
@NehaMittal3010 can you describe what you're trying to do?
I made a feeble attempt in the node label parameter plugin to switch from the jquery plugin to the jquery 3 plugin (jenkinsci/nodelabelparameter-plugin#38) . Thankfully, then @halkeye rescued me and provided replacement code (jenkinsci/nodelabelparameter-plugin#39) that uses plain Javascript instead of using the JQuery library.
Maybe the conversations on those two pull requests will help you on your journey
@MarkEWaite @halkeye i have installed the plugin from Manage Jenkins --> Manage Plugins .. "https://plugins.jenkins.io/uno-choice/" when i ran the security scans below vulnerability are encountered:- JQuery 1.12.4 contains multiple vulnerabilities:
CVE-2020-11022 dated 2020-04-29 has a CVSS score of 6.9.
CVE-2020-11023 dated 2020-04-29 has a CVSS score of 6.9
CVE-2015-9251 dated 2015-01-18 has a CVSS score of 6.1.
CVE-2019-11358 dated 2019-04-19 has a CVSS score of 6.1. i want to uplift the JQuery inside the Active choice Plugin.. i donot know how to create the plugin as i am new to this.. can u please assist me.
@NehaMittal3010 you might look at the existing pull requests in that plugin repository that are proposing other changes to the JavaScript. See
If you'd like to see my first few steps on the "Contributing to Open Source" path, see:
Maven does not find the parent pom, but I see it here:
https://repo.jenkins-ci.org/artifactory/public/org/jenkins-ci/plugins/plugin/4.33/
Your error indicates a networking problem.
BTW: Please upgrade your Maven version to a newer one (3.8.4 is the current release)
jenkins.io
codebase using the info provided in the screenshot. That is, the repo at https://github.com/jenkins-infra/jenkins.io. If it still doesn't work do let us know.