Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Apologies, where should I post this?
    Thank you
    Bijayalaxmi sahoo
    Hello i lost my password and user id for jenkins. Unable to login.what should i do.
    @Bijaya94503_twitter: reset your password on https://beta.accounts.jenkins.io/
    Hello everyone,
    I was doing the plugin development tutorial and after I was done I wanted to try to expand it.
    So I just wanted to add another checkbox for the configuration that says Hello in german, but the checkbox keeps unchecking itself after saving. Does someone have an idea why that might be?
    I did: add boolean in HelloWorldBuilder, getter(isUseGerman) in HWB, setter in HWB, add condition in perform() in HWB, add QueryParameter and short validation similar to the one for french in FormValidation in HWB, add entry in config.jelly for HWB in advanced similar to the one for french, add stuff in properties and help files similar to the french stuff and added methods in Messages.java similar to the one for french in target/generated-sources/localizer/...

    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?

    4 replies
    This message was deleted
    1 reply
    Eduardo Poiate

    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?


    Ulli Hafner

    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

    Eduardo Poiate
    Eduardo Poiate
    hey, that is exactly what I needed!
    hi, I am getting this error when running jenkins agent as docker container - + docker pull node:12.22-alpine
    unable to resolve docker endpoint: open /certs/client/ca.pem: no such file or directory. I am running jenkins as docker container on my mac docker. Can anyone help me with this?
    Ulli Hafner
    You should look for help in the correct Jenkins channel.
    Hi Guys, I'm able to build the job locally but when I'm build the same job using jenkins, the build start but fail at one line in the script, but the script is good. I don't know if jenkins are using the wrong shell or the wrong user to build the jub.
    @cpodieu: recommend you use the general jenkins channel #jenkinsci/jenkins instead of this one. This channel is for people wanting to leanr how to contribute to jenkins. Also recommend asking a question, and not just "I'm having an issue"
    Mohammad Afzal

    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

    1 reply
    Hi Team, i am unable to create plugin https://github.com/jenkinsci/active-choices-plugin with uplifted jquery.. Can someone help here?
    Mark Waite

    @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.

    Why was I pinged there?
    Mark Waite
    Just because you were the one who helped me with the JQuery replacement in node label parameter. Sorry to bother you with another one, but I don't know JQuery
    Oh. Because mark mentioned me first. I missed that
    Mark Waite
    @NehaMittal3010 you might refer to the "Contributing to Open Source" google doc for step by step instructions to get started. That was a workshop that I presented at DevOps World 2021 and it has been extended since then. https://docs.google.com/document/d/1PKYIpPlRVGsBqrz0Ob1Cv3cefOZ5j2xtGZdWs27kLuw/edit#heading=h.hvd0nm6pz5o4
    @MarkEWaite Thank you i am following the procedure which is shared but getting below error:- mvn versions:update-parent -e
    [INFO] Error stacktraces are turned on.
    [INFO] Scanning for projects...
    Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/plugin/4.1/plugin-4.1.pom
    Downloading from central: https://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/plugin/4.1/plugin-4.1.pom
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [FATAL] Non-resolvable parent POM for org.biouno:uno-choice:2.5.7: Could not transfer artifact org.jenkins-ci.plugins:plugin:pom:4.1 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/): Network is unreachable (connect failed) and 'parent.relativePath' points at no local POM @ line 6, column 13
    [ERROR] The build could not read 1 project -> [Help 1]
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
    [FATAL] Non-resolvable parent POM for org.biouno:uno-choice:2.5.7: Could not transfer artifact org.jenkins-ci.plugins:plugin:pom:4.1 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/): Network is unreachable (connect failed) and 'parent.relativePath' points at no local POM @ line 6, column 13
    @NehaMittal3010: network is unreachable is the error, I recommend keep trying, it sounds like repo.jenkins-ci.org is having issues
    @halkeye:g4v.dev ok sure Thank you..
    Mark Waite
    There was a report of an issue with repo.jenkins-ci.org. As far as I can tell, that issue is resolved now. I was able to successfully do the following steps:
    $ gh repo clone jenkinsci/active-choices-plugin
    $ cd active-choices-plugin
    $ mvn clean -DforkCount=1C verify
    Mark Waite

    @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:

    @MarkEWaite Please find below logs:-
    mvn build -X
    Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
    Maven home: /usr/share/apache-maven
    Java version: 11.0.14, vendor: Oracle Corporation
    Java home: /usr/java/jdk-11.0.14
    Default locale: en_US, platform encoding: ANSI_X3.4-1968
    OS name: "linux", version: "4.1.12-112.16.4.el7uek.x86_64", arch: "amd64", family: "unix"
    [DEBUG] Created new class realm maven.api
    [DEBUG] Importing foreign packages into class realm maven.api
    [DEBUG] Imported: javax.annotation. < plexus.core
    [DEBUG] Imported: javax.enterprise.inject.
    < plexus.core
    [DEBUG] Imported: javax.enterprise.util. < plexus.core
    [DEBUG] Imported: javax.inject.
    < plexus.core
    [DEBUG] Imported: org.apache.maven. < plexus.core
    [DEBUG] Imported: org.apache.maven.artifact < plexus.core
    [DEBUG] Imported: org.apache.maven.classrealm < plexus.core
    [DEBUG] Imported: org.apache.maven.cli < plexus.core
    [DEBUG] Imported: org.apache.maven.configuration < plexus.core
    [DEBUG] Imported: org.apache.maven.exception < plexus.core
    [DEBUG] Imported: org.apache.maven.execution < plexus.core
    [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
    [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
    [DEBUG] Imported: org.apache.maven.model < plexus.core
    [DEBUG] Imported: org.apache.maven.monitor < plexus.core
    [DEBUG] Imported: org.apache.maven.plugin < plexus.core
    [DEBUG] Imported: org.apache.maven.profiles < plexus.core
    [DEBUG] Imported: org.apache.maven.project < plexus.core
    [DEBUG] Imported: org.apache.maven.reporting < plexus.core
    [DEBUG] Imported: org.apache.maven.repository < plexus.core
    [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
    [DEBUG] Imported: org.apache.maven.settings < plexus.core
    [DEBUG] Imported: org.apache.maven.toolchain < plexus.core
    [DEBUG] Imported: org.apache.maven.usability < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.
    < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
    [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
    [DEBUG] Imported: org.codehaus.classworlds < plexus.core
    [DEBUG] Imported: org.codehaus.plexus. < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.component < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.container < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.context < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
    [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
    [DEBUG] Imported: org.eclipse.aether.
    < plexus.core
    [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
    [DEBUG] Imported: org.eclipse.aether.collection < plexus.core
    [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
    [DEBUG] Imported: org.eclipse.aether.graph < plexus.core
    [DEBUG] Imported: org.eclipse.aether.impl < plexus.core
    [DEBUG] Imported: org.eclipse.aether.installation < plexus.core
    [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
    [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
    [DEBUG] Imported: org.eclipse.aether.repository < plexus.core
    [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
    [DEBUG] Imported: org.eclipse.aeth
    [DEBUG] Message scheme: color
    [DEBUG] Message styles: debug info warning error success failure strong mojo project
    [DEBUG] Reading global settings from /usr/share/apache-maven/conf/settings.xml
    [DEBUG] Reading user settings from /root/.m2/settings.xml
    [DEBUG] Reading global toolchains from /usr/share/apache-maven/conf/toolchains.xml
    [DEBUG] Reading user toolchains from /root/.m2/toolchains.xml
    [DEBUG] Using local repository at /root/.m2/repository
    [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /root/.m2/repository
    [INFO] Scanning for projects...
    [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.jenkins-ci.org/public/
    [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.jenkins-ci.org/public/
    Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/plugin/4.33/plugin-4.33.pom
    [DEBUG] Writing tracking file /root/.m2/repository/org/jenkins-ci/plugins/plugin/4.33/plugin-4.33.pom.lastUpdated
    [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
    [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
    Downloading from central: https://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/plugin/4.33/plugin-4.33.pom
    [DEBUG] Writing tracking file /root/.m2/repository/org/jenkins-ci/plugins/plugin/4.33/plugin-4.33.pom.lastUpdated
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [FATAL] Non-resolvable parent POM for org.biouno:uno-choice:2.5.7: Could not transfer artifact org.jenkins-ci.plugins:plugin:pom:4.33 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/): Network is unreachable (connect failed) and 'parent.relativePath' points at no local POM @ line 6, column 13
    [ERROR] The build could not read 1 project -> [Help 1]
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
    [FATAL] Non-resolvable parent POM for org.biouno:uno-choice:2.5.7: Could not transfer artifact org.jenkins-ci.plugins:plugin:pom:4.33 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/): Network is unreachable (connect failed) and 'parent.relativePath' points at no local POM @ line 6, column 13
    issue looks to be in <groupId>org.biouno</groupId>
    as its not present at https://repo.jenkins-ci.org/public/
    Ulli Hafner

    Maven does not find the parent pom, but I see it here:

    Your error indicates a networking problem.

    BTW: Please upgrade your Maven version to a newer one (3.8.4 is the current release)

    Abdullah Ranginwala
    Hello everyone, I am a new contributor to the jenkins ecosystem. I am trying to setup the jenkins-infra/pipeline-steps-doc-generator project on my system but there seems to be multiple errors
    Screenshot 2022-02-01 at 6.14.02 PM.png
    4 replies
    some help here would be really appreciated
    Abdullah Ranginwala
    Also, would I have to switch back to Java 11 or would this work with Java 16
    Ulli Hafner
    Typically, all builds in Jenkins eco system require Java 11 to build (some still work with Java 8). Everything else is too high.
    So do not use Java 16.
    Kris Stern
    Hi @abdullah_rang_twitter I think you can manually patch the required 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.
    The git diff output shown is for your reference only.
    Kris Stern
    So generally speaking we use the LTS versions of Java for Jenkins, like Java 8 and 11, over the non-LTS ones like Java 16
    Abdullah Ranginwala
    Understood, thanks!
    Hi All i am trying to update <dependency>
    in Active choice Plugin but getting below error:-
    [INFO] Running InjectedTest
    [ERROR] Tests run: 21, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.126 s <<< FAILURE! - in InjectedTest
    [ERROR] org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive Time elapsed: 0.008 s <<< ERROR!
    java.lang.Error: Plugin jquery3-api failed to start
    at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(PluginAutomaticTestBuilder.java:99)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at junit.framework.TestCase.runTest(TestCase.java:177)
    at junit.framework.TestCase.runBare(TestCase.java:142)
    at junit.framework.TestResult$1.protect(TestResult.java:122)
    at junit.framework.TestResult.runProtected(TestResult.java:142)
    at junit.framework.TestResult.run(TestResult.java:125)
    at junit.framework.TestCase.run(TestCase.java:130)
    at junit.framework.TestSuite.runTest(TestSuite.java:241)
    at junit.framework.TestSuite.run(TestSuite.java:236)
    at org.jvnet.hudson.test.junit.GroupedTest.runGroupedTests(GroupedTest.java:67)
    at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.doTests(JellyTestSuiteBuilder.java:152)
    at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.access$100(JellyTestSuiteBuilder.java:138)
    at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite$2.call(JellyTestSuiteBuilder.java:160)
    at org.jvnet.hudson.test.HudsonTestCase$WebClient$5.run(HudsonTestCase.java:1516)
    at org.jvnet.hudson.test.ClosureExecuterAction.doIndex(ClosureExecuterAction.java:53)
    at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
    at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
    at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
    at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
    at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
    at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher.java:27)
    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
    at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:456)
    Can someone help me on this?
    [ERROR] Errors:
    [ERROR] TestGroovyScriptParametersOrder.testGroovyScriptParametersOrder:119 ? Script T...
    [ERROR] TestParametersXssVulnerabilities.testChoicesParameterXss:86 ? Script TypeError...
    [ERROR] TestGroovyScriptXssVulnerabilities.testChoicesParameterXss:87 ? Script TypeErr...
    [ERROR] TestGroovyScriptXssVulnerabilities.testChoicesParameterXssWithMaps:121 ? Script
    [ERROR] TestGroovyScriptXssVulnerabilities.testReferenceParameterXss:159 ? Script Type...
    [ERROR] TestDynamicReferenceXss.testChoicesParameterXss:93 ? Script TypeError: Cannot ...
    [ERROR] TestXssParameterNameBrowserConsole.testCascadeChoiceParameterXss:125 ? Script ...
    [ERROR] TestXssParameterNameBrowserConsole.testChoiceParameterXss:90 ? Script TypeErro...
    [ERROR] TestXssParameterNameBrowserConsole.testDynamicReferenceParameterXss:159 ? Script
    [ERROR] PluginAutomaticTestBuilder$OtherTests.testPluginActive:99 Plugin jquery3-api ...
    [ERROR] Tests run: 63, Failures: 0, Errors: 10, Skipped: 0
    [INFO] ------------------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 01:54 min
    [INFO] Finished at: 2022-02-01T14:33:38Z
    [INFO] Final Memory: 41M/154M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project uno-choice: There are test failures.
    [ERROR] Please refer to /root/final/active-choices-plugin/target/surefire-reports for the individual test results.
    [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    [ERROR] -> [Help 1]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException