by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Gavin Mogan
    @halkeye
    next, your just wanting to change the documention right? not functionality?
    do you have a github account? have you submitted pull requests before?
    vantangst
    @vantangst
    yes. just for document
    yes. I have
    Gavin Mogan
    @halkeye
    awesome. Then you should be able to fork the repo, change the readme.md file, and submit a pull request
    vantangst
    @vantangst
    I can't push my commitment
    Gavin Mogan
    @halkeye
    yea you'll have to push to your fork
    vantangst
    @vantangst
    yeah. but I can't push: https://prnt.sc/r14roc
    Gavin Mogan
    @halkeye
    your pushing to jenkinsci, not your fork
    if you run git commit -v it should list your remotes
    I'm pretty sure origin is going to be jenkinsci/appcenter-plugin
    if you goto https://github.com/jenkinsci/appcenter-plugin, then click "fork" on the top right hand side of the page, it'll make a fork for you to work on
    vantangst
    @vantangst
    I see now, thank u.
    I have done
    Gavin Mogan
    @halkeye
    okay, next add your remote to your local git. git remote add vantangst git@github.com:vantangst/appcenter-plugin
    then make sure your on a branch. git branch should show you all your branches, with the * next to the current one
    (i see your screenshots your using a gui, so you can do my steps in alternative ways)
    if your on master, make a new branch git checkout -b whatever-you-want-for-new-branch
    then git push -u vantangst whatever-you-want-for-new-branch
    vantangst
    @vantangst
    ok. I have created my pull request
    Gavin Mogan
    @halkeye
    great, the maintainer will be able to review it, and give you feedback and submit
    though personally I think the credentials() should still be there
    vantangst
    @vantangst
    ok. I will put it back
    indu
    @indu_shreenath_twitter
    Hi All, I have a question, we use git enterprise and git cloud in our company and I cannot keep all the projects in either of the 2 but in jenkins I want to configure for both the git cloud and enterprise version , how do I do it
    Oleg Nenashev
    @oleg-nenashev
    @indu_shreenath_twitter Are you talking about GitHub? There is no Git Enterprise or Git Cloud
    indu
    @indu_shreenath_twitter
    yes Git hub and our internal git server
    Gavin Mogan
    @halkeye
    also this channel if for contributing to the jenkins project, not asking for help. Help I recommend either #jenkinsci/jenkins or the jenkins users mailing list
    indu
    @indu_shreenath_twitter
    thanks @halkeye
    indu
    @indu_shreenath_twitter
    but the google group jenkinsci is not active. What is the forum that I can get help for jenkins.
    Gavin Mogan
    @halkeye
    https://groups.google.com/forum/m/#!forum/jenkinsci-users looks like it has 6 posts yesterday.
    alerossi82
    @alerossi82
    Hi everyone, I don't know if this is the right place. I cloned the jenkins repository from github but I can't build the project
    I get this error: [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs (spotbugs) on project jenkins-parent: Execution spotbugs
    of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs failed: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of it
    s dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path C:\Program Files\Java\jre1.8.0_241/../lib/t
    ools.jar
    Can you please help me?
    Ullrich Hafner
    @uhafner
    I think you need to use a JDK not a JRE when compiling with maven. So set JAVA_HOME to C:\Program Files\Java\[A-JDK]
    When you run mvn -version you see which version is used
    Eric Citaire
    @ericcitaire

    Hi all,

    It seems that docker-java-api-plugin does not have any active maintainer
    anymore.

    I would like to become one, if possible.

    I tried to send a message to jenkinsci-dev@googlegroups.com as suggested here : https://jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/ but I receive a delivery failure notification.

    Thanks in advance.

    Best Regards,
    Eric.

    Marky Jackson
    @markyjackson-taulia

    @ericcitaire Please try sending your message through this link: https://groups.google.com/forum/#!forum/jenkinsci-dev

    I would also open an issue in the plugin repo and tag the last person who merged a PR. Also create an account here and open an issue in the Jenkins-infra https://issues.jenkins-ci.org/secure/Dashboard.jspa

    It can take up to 2 weeks and given all the world chaos it may take a little more so please be patient
    Eric Citaire
    @ericcitaire
    Thanks @markyjackson-taulia for your answer. I'll wait. :)
    Marky Jackson
    @markyjackson-taulia
    I would make sure to go to that google group link about and post your msg again too
    Eric Citaire
    @ericcitaire
    Yes, I've posted a message on the Google group as you suggested.
    Marky Jackson
    @markyjackson-taulia
    Sweet, and thank you
    Calvin Park
    @calvinpark

    Hello! mvn hpi:run fails for https://github.com/jenkinsci/cloudbees-folder-plugin

    cloudbees-folder-plugin master$ mvn hpi:run
    [INFO] Scanning for projects...
    [INFO] 
    [INFO] --------------< org.jenkins-ci.plugins:cloudbees-folder >---------------
    [INFO] Building Folders Plugin 6.13-SNAPSHOT
    [INFO] --------------------------------[ hpi ]---------------------------------
    [INFO] 
    [INFO] >>> maven-hpi-plugin:3.10:run (default-cli) > compile @ cloudbees-folder >>>
    [...]
    [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ cloudbees-folder ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 45 source files to /Users/calvin/GitRepos/cloudbees-folder-plugin/target/classes
    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR : 
    [INFO] -------------------------------------------------------------
    [ERROR] java.nio.file.NoSuchFileException: /Users/calvin/GitRepos/cloudbees-folder-plugin/target/classes/META-INF/annotations/hudson.Extension
    [INFO] 1 error
    [...]

    I'm on macOS. What's needed to compile this plugin? Thanks!

    Oleg Nenashev
    @oleg-nenashev
    @calvinpark you are building the plugin wih JDK11, but the plugin targets old Jenkins core version which does not support it. To build with JDK11, use Jenkins core 2.164+ and recent plugin POM versions. Use JDK8 otherwise
    Calvin Park
    @calvinpark

    Hi @oleg-nenashev I saw some threads about JDK so I was using JDK8 to run the failed build. I'm also using the latest master from cloudbees-floder-plugin repo

    $ /usr/libexec/java_home -V
    Matching Java Virtual Machines (1):
        1.8.0_252, x86_64:    "AdoptOpenJDK 8"    /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
    
    /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
    
    $ git show --name-status
    commit 7ca186c7d82d315d139fb19a05a72dcd2fc66668 (HEAD -> master, origin/master, origin/HEAD)
    Author: Francisco Javier Fernandez Gonzalez <fjfernandez@cloudbees.com>
    Date:   Mon Apr 6 18:40:58 2020 +0200
    
        [maven-release-plugin] prepare for next development iteration
    
    M       pom.xml

    I ended up modifying pom.xml's properties/jenkins.level as you suggested and got it working. Thanks!

    Calvin Park
    @calvinpark

    One more question. mvn hpi:run also fails on Jenkins repo itself

    jenkins master$ mvn hpi:run
    [INFO] Scanning for projects...
    [...]
    [INFO] <<< maven-hpi-plugin:3.13:run (default-cli) < compile @ jenkins-parent <<<
    [INFO] 
    [INFO] 
    [INFO] --- maven-hpi-plugin:3.13:run (default-cli) @ jenkins-parent ---
    [INFO] Logging initialized @7148ms to org.eclipse.jetty.util.log.Slf4jLog
    [...]
    [ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:3.13:run (default-cli) on project jenkins-parent: The parameters 'minimumJavaVersion' for goal org.jenkins-ci.tools:maven-hpi-plugin:3.13:run are missing or invalid -> [Help 1]

    What should I change in this case? Thanks!

    Alex Earl
    @slide
    @calvinpark You can't hpi:run on the jenkins core repo
    Look at this page for more info on building and debugging Jenkins core https://github.com/jenkinsci/jenkins/blob/master/CONTRIBUTING.md#building-and-debugging
    Calvin Park
    @calvinpark
    That worked. Thank you!