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

ERROR: File does not exist w/ Matrix Project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • token-macro-plugin
    • None
    • JENKINS_VERSION 2.303.1, Docker container, Alpine Linux, Email Extension Plugin 2.83

      I have a Matrix project with one variable called foo. I set two possible values for the variable. Each script creates a bar file in the workspace. The email Subject is set to ${FILE,path="bar"} The resulting emails have the subject ERROR: File 'bar' does not exist

      If I change the Subject to ${FILE,path="foo/FOO_VALUE_1/bar"} the file is found the the email subject is a expected.

      The email-ext-plugin needs to use the workspace of each matrix configuration as the starting point for the FILE paths (and not the overall project workspace).

            slide_o_mix Alex Earl
            rvernica Rares Vernica
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: