Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Gavin Mogan
    @halkeye
    its generated for sure, what are you doing to build? ide style?
    i think the mvn commands will build it, like mvn compile, or mvn verify
    Bassam Khouri
    @bkhouri
    @halkeye : I'm running mvn compiler:compile from the command line.
    Gavin Mogan
    @halkeye
    i've never used that one and barely know mvn, but i'd suggest just mvn compile
    Bassam Khouri
    @bkhouri
    mvn compile fails with
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 114 source files to /Users/bkhouri/Documents/git/gerrit-trigger-plugin/target/classes
    [INFO] /Users/bkhouri/Documents/git/gerrit-trigger-plugin/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/workflow/SetGerritReviewStep.java: Some input files use or override a deprecated API.
    [INFO] /Users/bkhouri/Documents/git/gerrit-trigger-plugin/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/workflow/SetGerritReviewStep.java: Recompile with -Xlint:deprecation for details.
    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR :
    [INFO] -------------------------------------------------------------
    [ERROR] java.nio.file.NoSuchFileException: /Users/bkhouri/Documents/git/gerrit-trigger-plugin/target/classes/META-INF/annotations/hudson.Extension
    [INFO] 1 error
    [INFO] -------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    How can I point mvn to use a specific version of java. It looks to be using Java 14 and I think I need to use either 8 or 11
    Gavin Mogan
    @halkeye
    i don't know, i use asdf to switch languages when i switch dir. I'm guessing it looks at JAVA_HOME/path
    Oleg Nenashev
    @oleg-nenashev
    @bkhouri For using JDK 1.8 with Maven, you just need to set the JAVA_HOME environment variable
    1 reply
    Gavin Mogan
    @halkeye
    was about to point out https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md which has some details
    1 reply
    Bassam Khouri
    @bkhouri
    Hi, is there a standard approach/maven command to run the Jenkins plugin unit tests?
    Gavin Mogan
    @halkeye
    sh("mvn test")?
    oh this is for plugins sorry, mvn test is pretty standard
    Bassam Khouri
    @bkhouri
    :)
    Thanks for the info.. I'm about to contribute my first change to the community. I hope it goes well!
    Gavin Mogan
    @halkeye
    Nice. Super exciting
    meenachauhan
    @meenachauhan
    Hello. I am a first time contributor to this repo and need write access https://github.com/jenkinsci/xldeploy-plugin
    Oleg Nenashev
    @oleg-nenashev
    @meenachauhan It is not how it usually works in Jenkins. Please fork the repo and submit a pull request from the fork. If the maintainer is inactive, we have a plugin adoption process: https://www.jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/
    meenachauhan
    @meenachauhan
    thanks let me try to fork it
    meenachauhan
    @meenachauhan
    Hello. I need access to jenkinsci-cert for updating my plugin, whom should I contact for it?
    13 replies
    Nitika Agarwal
    @nitikagarw
    Hi team, Can someone please help me with how can I create an issue for this plugin: https://github.com/jenkinsci/performance-plugin ?
    4 replies
    Sagar Khurana
    @hellosagar

    Hello everyone
    So far in jenkins I learned about :

    • Running it on Tomcat
      • Create User + manage user + assign role
      • Basic Configrations
      • Jobs
      • Adding Plugins
      • Integeration with Git
      • Using Catalight with Jenkins
      • Pipeline

    and I made a first basic plugin using Jenkins using this https://www.jenkins.io/doc/developer/tutorial/

    TDLR: I learned the basic knowledge about using jenkins and setup my first basic plugin and run it on my jenkins instance
    Now If I want to move from here what should I try

    • Deep dive in any plugin codebase ?
    • Understanding how to extend the Plugin
      or anything else
      I want to help in this community so what should I focus on now to leanrn new things and start with something so that I can actually help the community in someway
    meenachauhan
    @meenachauhan
    Hi. from where can I find out what the body of this REST API request to jenkins server should contain? http://jenkins-url/securityRealm/createAccount?
    AnikaShenoy
    @AnikaShenoy
    Hi, I'm Anika. I'm new to open source and I'm looking for a community that I can contribute to
    Could someone direct me to where I can find good first issues? The ones I am coming across seem to be assigned already
    2 replies
    Ullrich Hafner
    @uhafner
    Hi Anika! A good starting point is https://www.jenkins.io/participate/code/. This page has a link to all of our „newbie“ issues that are tracked in Jira (only a minority of issues is tracked in GitHub): https://issues.jenkins.io/issues/?jql=labels%20%3D%20newbie-friendly%20and%20status%20in%20(Open%2C%20%22To%20Do%22%2C%20Reopened)
    1 reply
    Vishal
    @Vishalghyv
    I am getting unable to create file hieradata/roles/jenkins::agent.yaml: Invalid argument while cloning Jenkins infra using git, what could be the reason for it
    2 replies
    Vishal
    @Vishalghyv
    Hello all, while going through about Jenkins in manage Jenkins the first link of Jenkins War is not working while looking in pom repo Jenkins war file doesn't exist, Where would that link be I could add PR for that
    5 replies
    Mark Waite
    @MarkEWaite
    image.png
    1 reply
    Vishal
    @Vishalghyv

    I was setting up Jenkins security because blue ocean requires it for pipeline,
    I can't solve the No valid crumb was included in the request during login
    I am just changing Authorization to Logged-in users can do anything
    I have tried to disable TCP port for inbound agents
    Enable Enable proxy compatibility

    I am working on Windows, Jenkins version Jenkins 2.277
    Building using mvn -am -pl war,bom -DskipTests -Dspotbugs.skip clean install
    Running using mvn -pl war jetty:run

    Everything is working fine when I disable use security option in war/config.xml file
    I have Credentials plugin 2.3.14 installed
    And a Global (Jenkins, nodes, items, all child items, etc) credential

    Screenshot(1).png
    How can I solve it, Is there any work around
    Mark Waite
    @MarkEWaite

    @Vishalghyv do you have the same problem when you download and run jenkins.war from https://updates.jenkins.io/latest/jenkins.war ?

    I assume that you do. If so, then I assume there is something on your computer that is disrupting the interaction between the Jenkins HTTP server and your web browser. Possibly some form of filtering that you've enabled on your web browser.

    Sagar Khurana
    @hellosagar
    that causes to me when Im trying to launch jenkins.war and Im facing issue
    and later I discovered that there is already on java server running my local machine after killing that and running it again that solved for mine
    Vishal
    @Vishalghyv
    Thanks, @MarkEWaite and @pikachu404 solved it
    Thusitha Jayasundara
    @ThusithaDJ
    Hi All, I'm working on a issue in checks-api-plugin, could you please someone pointing me to how to configure this plugin in a project and how to test locally(if it is possible)
    Ullrich Hafner
    @uhafner
    We have a special Gitter channel for that plugin: https://gitter.im/jenkinsci/github-checks-api
    Please ask the question there, you can also read the documentation: https://github.com/jenkinsci/github-checks-plugin
    Thusitha Jayasundara
    @ThusithaDJ
    Thanks a lot. Sorry for the delayed reply.
    SakshiDev
    @SakshiDev
    Hi, Can we use checkpoints in Jenkinsfile using matrix system?
    SakshiDev
    @SakshiDev
    Can anyone please help me with the above query?
    Kevin Christopher
    @imkevinchris7_twitter
    Hi, I have a doubt in generic-webhook-trigger-plugin for push events..
    2 replies
    Oleg Nenashev
    @oleg-nenashev

    Recording of the yesterday's session about contributing to Jenkins: https://www.youtube.com/watch?v=ivMBMuZXdBA

    We plan to organize a Jenkins online meetup next week with a similar presentation

    Nathan Pierce
    @NorseGaud

    Hello, I need to be added as a contributor to our company's Jenkins plugin: https://github.com/jenkinsci/anka-build-plugin

    How do I go about requesting that access?

    Zhao Xiaojie
    @LinuxSuRen
    Nathan Pierce
    @NorseGaud
    I couldn't find that, thanks!
    Nathan Pierce
    @NorseGaud
    Hmm, I'm not clear how to request access still. Where do I reach out to the team that controls adding contributors/maintainers to a repo?
    The steps in the doc all seem to require access to IRC, the group/list, etc. Do I need to open a Jenkins ticket or something?
    Zhao Xiaojie
    @LinuxSuRen
    There're two parts that you need to deal with. The first part is about the GitHub access, I belive that your co-woker can help with that.
    The second part, you can file a PR on https://github.com/jenkins-infra/repository-permissions-updater. And ask your co-worker to let a comment about it.
    Nathan Pierce
    @NorseGaud
    Got it! Thanks!