Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    hchakrouun
    @hchakrouun
    Hi, I created a Pull Request For Vault plugin: jenkinsci/hashicorp-vault-plugin#195 which was approved by one maintainer of the plugin, I don't know what is the process to merge Pull Requests. Can anyone explain to me how this works ?
    Thank you
    Mark Waite
    @MarkEWaite
    Maintainers choose the process they use for pull requests. You'd need to ask in the pull request to understand if more changes are needed. While you're waiting for the pull request to be merged, you can use the incremental build that is available from https://ci.jenkins.io/job/Plugins/job/hashicorp-vault-plugin/job/PR-195/ . Either download the hpi file and install it, or place a reference to the hpi file in your plugins.txt file (if you manage plugin versions as code).
    Abhay kumar
    @abhayku2002
    hi @all: Do anybody have experience in Dart and Julia programing language?
    hchakrouun
    @hchakrouun
    Thank you @MarkEWaite for your reply, I already asked a maintainer who approved the pull request, I am still waiting for his feedback
    Christian Petersson
    @Issen007
    Just of interest, since 2017 nothing really happening with the Django-Jenkins plugin and it doesn't really support Django 3.x
    What are people using for testing Django Apps with Jenkins?
    halkeye
    @halkeye:g4v.dev
    [m]
    there's a django plugin? wouldn't you just use virtualenv + pytest?
    Christian Petersson
    @Issen007
    @halkeye:g4v.dev That is maybe the answer and the way I'm doing it at the moment. Accept I'm using a container and k8s instead of virtualenv. But was curious how other people are working.
    halkeye
    @halkeye:g4v.dev
    [m]
    @Issen007: well since this channel is for people new to contributing to Jenkins I don't think you'll get much more feedback. I recommend the general Jenkins room or the community site
    Also I googled yesterday. There's no Django plugin. Theres some Django tooling that someone made and published themselves. I recommend simple. Use pytest with junit reporter. Then use junit Jenkins plugin. Then eventually use warnings-ng plugin for more metrics
    Christian Petersson
    @Issen007
    @halkeye:g4v.dev thanks. But I am new. LOL... ;)
    btw, is it only Gitter Jenkins Community are using? There isn't any Slack channel?
    halkeye
    @halkeye:g4v.dev
    [m]
    Yea your asking about using Jenkins. This channel is for creating Jenkins.
    Theres no official slack
    Christian Petersson
    @Issen007
    ok, thanks. :)
    Ulli Hafner
    @uhafner:matrix.org
    [m]
    Please do not cross post. This is a room for people new to contributing to Jenkins.
    1 reply
    Andrius Semionovas
    @neworld
    Hello. I am pretty new and I am not sure if this is a good channel to ask. I am stuck with plugin release, which fixes a crash. I am getting Received status code 401 from server: Unauthorized, even I can connect to the repository and deploy artifacts manually. Also, I tried setup automatic CD, but the problem is all scripts are prepared only for maven, but I am using gradle. I deployed artifacts manually, but it seems update center never gets update. What is the correct way to publish plugins nowadays from gradle build system?
    6 replies
    halkeye
    @halkeye:g4v.dev
    [m]
    @neworld: there's a bunch of scripts about it on the dev mailing list (as a plugin author you should be subscribed). Common issues is you got locked out (try logging into jira). Wrong paths (make sure the path your publishing to matches the ones in the repository permission updater). Snapshot in version. Um. Probably a few others
    5 replies
    halkeye
    @halkeye:g4v.dev
    [m]
    oh i assumed you were a first publisher not a re-publisher. I think at some point passwords had to be encrypted, i don't know if gradle uses ~/.m2/mvn.xml thingie
    2 replies
    oh mark's using threads. One day threads will work properly on matrix too
    Steven
    @justusbunsi
    Hi. I'm currently trying to write an integration test for the configuration-as-code plugin and have massive trouble with plugin dependencies.
    Am I at the right place to get help? If not, could you point me to the right place please?
    Ulli Hafner
    @uhafner:matrix.org
    [m]

    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?

    Steven
    @justusbunsi

    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.

    Ulli Hafner
    @uhafner:matrix.org
    [m]
    Ok, this is not a "beginner question": I have no clue what breaks the test here. You can set a breakpoint before the exception and inspect the Jenkins under test which plugins are already loaded. From the pom.xml it looks like that the latest branch-api plugin is installed. Which ist your Jenkins version in the Gitea plugin? Maybe this version is not compatible with the version in jcasc (just a guess).
    Steven
    @justusbunsi
    Gitea plugin requires at least Jenkins 2.289.1 and is itself fully compatible jcasc. Updating that to match the Jenkins version defined in the jcasc plugin didn't work.
    I also tried using the @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.
    Regarding breakpoints: Didn't get the test execution working with VSCode. Have tried to log the loaded plugins earlier but the log didn't appear. Maybe I did something wrong.
    Ulli Hafner
    @uhafner:matrix.org
    [m]
    Maybe it helps if you ask in the PR as well? Maybe one of the reviewers can help.
    Steven
    @justusbunsi
    Left a comment in the PR. Thank you for your time so far.
    Ulli Hafner
    @uhafner:matrix.org
    [m]
    Wrong channel: This is a room for people new to contributing to Jenkins.
    User channel jenkinsci/jenkins
    mhonest
    @mhonest
    Apologies, where should I post this?
    Thank you
    Bijayalaxmi sahoo
    @Bijaya94503_twitter
    Hello i lost my password and user id for jenkins. Unable to login.what should i do.
    halkeye
    @halkeye:g4v.dev
    [m]
    @Bijaya94503_twitter: reset your password on https://beta.accounts.jenkins.io/
    Lukas
    @TechnicFreakz
    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/...
    hantho
    @hantho

    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
    pyinthesky
    @pyinthesky
    This message was deleted
    1 reply
    Eduardo Poiate
    @epoiate

    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

    Ulli Hafner
    @uhafner:matrix.org
    [m]

    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
    @epoiate
    tks
    Eduardo Poiate
    @epoiate
    hey, that is exactly what I needed!
    vbhardwaj-matchless
    @vbhardwaj-matchless
    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
    @uhafner:matrix.org
    [m]
    You should look for help in the correct Jenkins channel.
    cpodieu
    @cpodieu
    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.
    halkeye
    @halkeye:g4v.dev
    [m]
    @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
    @mafzal669

    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
    NehaMittal3010
    @NehaMittal3010
    Hi Team, i am unable to create plugin https://github.com/jenkinsci/active-choices-plugin with uplifted jquery.. Can someone help here?
    Mark Waite
    @MarkEWaite

    @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

    NehaMittal3010
    @NehaMittal3010

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

    halkeye
    @halkeye:g4v.dev
    [m]
    Why was I pinged there?
    Mark Waite
    @MarkEWaite
    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
    halkeye
    @halkeye:g4v.dev
    [m]
    Oh. Because mark mentioned me first. I missed that