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

Build failes, when setup build environment on runner

XMLWordPrintable

    • 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)

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

              Created:
              Updated:
              Resolved: