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

Build failes, when setup build environment on runner

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • ant-plugin, core
    • None
    • 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

      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)

          [JENKINS-31099] Build failes, when setup build environment on runner

          Thomas Storm added a comment -

          guys?

          Thomas Storm added a comment - guys?

          Hi thomas_st0rm,

          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

          Armando Fernandez added a comment - Hi thomas_st0rm , 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

          Thomas Storm added a comment -

          armfergom
          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.

          Thomas Storm added a comment - armfergom 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.

          Thomas Storm added a comment -

          armfergom
          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.

          Thomas Storm added a comment - armfergom 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.

          thomas_st0rm thanks for your prompt answer!

          Armando Fernandez added a comment - thomas_st0rm thanks for your prompt answer!

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

              Created:
              Updated:
              Resolved: