by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Calvin Park
    @calvinpark
    That worked. Thank you!
    Alex Earl
    @slide
    yw
    Calvin Park
    @calvinpark

    I've added a test to test/src/test/java/hudson/model/ItemGroupMixInTest.java and am trying to run the tests. mvn test -P light-test fails with this error which doesn't seem related to my changes.

    java.lang.RuntimeException: Internal error: Failed to find the "modifiers" field in method setInternalState.

    In fact, the same error occurs when the test is run on master branch without any changes. What am I missing? Thank you!

    Calvin Park
    @calvinpark
    Is there a dockerized environment for building and testing Jenkins?
    Mark Waite
    @MarkEWaite
    For building Jenkins, not that I am aware of. For running Jenkins, yes, there are docker images available at https://hub.docker.com/r/jenkins/jenkins
    @calvinpark are you using JDK 8? Most Jenkins development uses JDK 8. JDK 11 is supported for runtime and used in some cases for development as well. If not, do you see the same message when you run with JDK 8? Are you using Maven 3.6.3? If not, do you see the same message with Maven 3.6.3?
    I just checked mvn test -P light-test on my Ubuntu 18.04 running AdoptOpenJDK 1.8.0_242 without any issue.
    Alex Earl
    @slide
    I've seen that issue, but only when running with a JDK 14
    The current PowerMock version in core doesn't work anything above JDK 11 I believe
    Calvin Park
    @calvinpark
    Thanks @MarkEWaite It turned out that the issue is due to brew installer on macOS not setting JENKINS_HOME envvar. It sets the path correctly so the test initiates but as it progresses some parts don't finish. This was seen on both JDK 8 and 11. When JAVA_HOME was set both 8 and 11 succeded
    Cloud Network
    @CloudNetwork
    Hi All, i want to setup email alias in jenkins can anyone help how to setup it
    from jenkins it should send alias email to my gmail id
    Oleg Nenashev
    @oleg-nenashev
    @CloudNetwork Hi, where do you want to set this alias? Jenkins Account, IRC, GitHub or something else?
    Cloud Network
    @CloudNetwork
    i want to setup a job in jenkins as a Script in build action so that i can refresh my job
    i mean VM
    Oleg Nenashev
    @oleg-nenashev
    Would it make sense to create a dedicated Gitter channel for hackfests, similarly to https://gitter.im/jenkinsci/hacktoberfest and #jenkins-hackhouse in IRC? Or would we like to use IRC as a communication channel?
    4 replies
    Thorien
    @Thorien
    I see this is not the right place to open any issues our ask for troubleshooting. What would be the right place. Except for google :-) "jenkins/ssh-slave"
    2 replies
    Alex Earl
    @slide
    If you have an issue with the docker image, you can open an issue on GitHub
    Daniele-Tampieri
    @Daniele-Tampieri
    Hi to everyone. I am a newbie of Jenkins, and I need to ask a perhaps very basic question: can I design software tests that can run on the same function written in different programming languages?
    I am asking this since I and my colleagues are about to deal with legacy code
    According to our proposed work plan, we first will analyze the legacy (Delphi) code, design the tests for all its functions/parts and then rewrite it in C# and Python.
    We thought of reusing the tests developed for the legacy code in order to test if the newly written code behaves in the same (or almost the same) way.
    Thank you very much.
    Gavin Mogan
    @halkeye
    @Daniele-Tampieri so this channel is for new commers that want to contribute to the Jenkins project. Not really support
    I've not really heard of writing tests in one language for an app that is in another language, unless you're talking selenium or like mouse clicks, so integration or e2e tests.
    I would recommend the Jenkins users mailing list
    Or since this is kinda an extreme case maybe hiring one of the companies that specialize in this sort of thing
    Daniele-Tampieri
    @Daniele-Tampieri
    @halkeye Thank you, I'll post on the Jenkins users mailing list and, if things go unmanageable, hire someone.
    Oleg Nenashev
    @oleg-nenashev
    can I design software tests that can run on the same function written in different programming languages?
    This part is actually easy. Yes, you can design it. No, it is not really something being done in Jenkins. You likely need a distributed test framework designed for blackbox testing
    Daniele-Tampieri
    @Daniele-Tampieri
    @oleg-nenashev Thank you very much: where can I find information on distributed test framework for blackbox testing suitable for this purpose?
    Daniele-Tampieri
    @Daniele-Tampieri
    @oleg-nenashev I've googled a bit and I found an interesting title by Gao, Tsao and Wu "Testing and Quality Assurance for Component-Based Software" : it seems dealing with that topic. I'll give a look at it.
    Rahul Karmakar
    @imrahul361
    @oleg-nenashev i like to work on web development. Is there any issue that i can solve?
    Ullrich Hafner
    @uhafner
    Do you mean for the hackfest? (https://www.jenkins.io/events/online-hackfest/2020-uiux/) Or in general, i.e. for a longer perspective?
    Rahul Karmakar
    @imrahul361
    @uhafner is there any issue in website frontend that I can fix?
    Ullrich Hafner
    @uhafner
    Gavin Mogan
    @halkeye
    there's also the list on github - https://github.com/jenkins-infra/jenkins.io/issues
    Gavin Mogan
    @halkeye
    imrahul361 its also probaly worth looking at #jenkinsci/ux-sig
    Calvin Park
    @calvinpark

    Jenkins version 2.164.2
    Folders plugin version 6.9

    I'm facing a strange issue. In two folders (out of ~50) some jobs' name and the link changed.

    Name should be (from inside test-frameworks folder) pre-merge
    Became .. » test-frameworks » pre-merge

    Link should be https://<jenkins>/job/test-frameworks/job/pre-merge/
    Became https://<jenkins>/job/test-frameworks/job/test-frameworks/job/pre-merge/

    As a result, clicking the name of the job leads to 404. I can get to the job page if I manually fix the URL on the address bar.

    Attempting to create a job with the same name fails with » A job already exists with the name ‘pre-merge’

    I've compared config.xml's of the affected folders and a non-affected and didn't find any obvious issues.

    I've also looked at config.xml of the affected job but it didn't contain any references to its name. I guess the job name is based on the folder name?

    Has anyone seen an issue like this?

    image.png
    Alex Earl
    @slide
    You may want to ask in the normal jenkins gitter channel
    1 reply
    Calvin Park
    @calvinpark
    This message was deleted
    Andres Salcedo
    @alfabravoteam

    Hi there!

    Rechecking the tutorial to prepare the environment to contribute (https://www.jenkins.io/doc/developer/tutorial/prepare/) it recommends Eclipse Maven plugin (http://maven.apache.org/plugins/maven-eclipse-plugin/), which was retired. Should we change the recommended approach for Eclipse users?

    2 replies
    Gavin Mogan
    @halkeye
    intellij community is free and works just fine
    so don't think your forced to use eclipse, its totally your choice
    Oleg Nenashev
    @oleg-nenashev
    FWIW even Visual Studio Code provides basic software development features. I often have to use it on my work laptop which has serious RAM limitations
    Gavin Mogan
    @halkeye
    I'm starting to love vscods but I can't get java imports to work reliably. Great for small changes but not bigger ones
    Oleg Nenashev
    @oleg-nenashev
    That's why I still have idea :)