Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38020

Jenkins job could not find javaclass between two projects

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • allure-plugin
    • None

      Hi,
      I am have two separated projects "Mobile test automation app" and "Mobile test automation framework", the first one using some java classes from the framework project , when I am running the jobs in jenkins, it seems that the first project could not find called element from the second project.
      I have got just an exception and mark it as borken in the test result generation.
      Without Jenkins I never get NoClassDefFoundError. But when I used jenkins I got.
      Build time there is no issue.
      So what is going on in this situation? its jenkins related issue or javas issue?

      Best regards,
      Salhi

          [JENKINS-38020] Jenkins job could not find javaclass between two projects

          Fadhel Salhi created issue -
          Fadhel Salhi made changes -
          Description Original: Hi,
          I am have two separated projects "Mobile test automation app" and "Mobile test automation framework", the first one using some java classes from the framework project , when I am running the jobs in jenkins, it seems that the first project could not find called element from the second project.
          The jobs are marked as broken in jenkins, the only solution I did is to create a new ondemand jobs for my failed.
          Is there a better solution that can allow me to prevent using ondemand jobs?

          Best regards,
          Salhi
          New: Hi,
          I am have two separated projects "Mobile test automation app" and "Mobile test automation framework", the first one using some java classes from the framework project , when I am running the jobs in jenkins, it seems that the first project could not find called element from the second project.
          I have got just an exception and mark it as borken in the test result generation.
          Without Jenkins I never get NoClassDefFoundError. But when I used jenkins I got.
          Build time there is no issue.
          So what is going on in this situation? its jenkins related issue or javas issue?

          Best regards,
          Salhi

            eroshenkoam Artem Eroshenko
            foudelsalhi Fadhel Salhi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: