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

Build failes, when setup build environment on runner

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: ant-plugin, core
    • Labels:
      None
    • Environment:
      centos 6.6
      ant plugin 1.2
      java.runtime.name OpenJDK Runtime Environment
      java.runtime.version 1.8.0_45-b13
      ant 1.8.2
    • Similar Issues:

      Description

      Hi.

      There is interesting problem.
      If i setup environment properties on a runner (not in a job) i receive this problem

      FATAL: Cannot find executable from the chosen Ant installation "Ant 1.8.4"
      Build step 'Invoke Ant' marked build as failure
      Recording test results
      ERROR: Publisher 'Publish JUnit test result report' failed: No test report files were found. Configuration error?
      

      This is present ONLY if i setup a runner (review screenshot). If a leave this blank, build goes successfully (ant is setup in a job description)

        Attachments

          Activity

          Hide
          thomas_storm Thomas Storm added a comment -

          guys?

          Show
          thomas_storm Thomas Storm added a comment - guys?
          Hide
          armfergom Armando Fernandez added a comment -

          Hi Thomas Storm,

          I have recently become the maintainer of the Ant Plugin and I am looking at open issues. I have tried to reproduce this one but I have not been able to.

          If you are still experiencing this issue, could you please provide more details?

          • Is the job being run on a slave or in the master?
          • Can you please describe (or attach) the configuration of "Ant installations"? For "Ant 1.8.4" to appear in "Tool Installations" you have to configure one Ant installation.
          • Also, why is the "Home" field blank in the Ant "Tool Installation"?

          If you could provide this and any other information that you think can be useful, I would appreciate it!

          Thanks,
          Armando

          Show
          armfergom Armando Fernandez added a comment - Hi Thomas Storm , I have recently become the maintainer of the Ant Plugin and I am looking at open issues. I have tried to reproduce this one but I have not been able to. If you are still experiencing this issue, could you please provide more details? Is the job being run on a slave or in the master? Can you please describe (or attach) the configuration of "Ant installations"? For "Ant 1.8.4" to appear in "Tool Installations" you have to configure one Ant installation. Also, why is the "Home" field blank in the Ant "Tool Installation"? If you could provide this and any other information that you think can be useful, I would appreciate it! Thanks, Armando
          Hide
          thomas_storm Thomas Storm added a comment -

          Armando Fernandez
          We've checked and saw that issue was on wrong configured ant on the host.This issue can be closed now, thanks for your attention.

          Show
          thomas_storm Thomas Storm added a comment - Armando Fernandez We've checked and saw that issue was on wrong configured ant on the host.This issue can be closed now, thanks for your attention.
          Hide
          thomas_storm Thomas Storm added a comment -

          Armando Fernandez
          We've checked and saw that issue was on wrong configured ant on the host.This issue can be closed now, thanks for your attention.

          Show
          thomas_storm Thomas Storm added a comment - Armando Fernandez We've checked and saw that issue was on wrong configured ant on the host.This issue can be closed now, thanks for your attention.
          Hide
          armfergom Armando Fernandez added a comment -

          Thomas Storm thanks for your prompt answer!

          Show
          armfergom Armando Fernandez added a comment - Thomas Storm thanks for your prompt answer!

            People

            • Assignee:
              armfergom Armando Fernandez
              Reporter:
              thomas_storm Thomas Storm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: