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

There is no variable that contains the job name without the user defined axis.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • Jenkins ver. 1.593
      Matrix Project Plugin 1.3

      When setting up a matrix projext (named foo) with a user defined axis (that contains [configA, configB, configC]), JOB_NAME variable contains a string that looks like this "foo/configA" or "foo/configB".
      I would like to have access to a variable that will only have "foo" in it.
      My final aim (and why that variable would be usefull to me) is to use a custom workspace with this value "$WORKSPACE_HOME/$JOB_NAME_BASE/workspace" and Directory for sub-builds with value "." that will allow all my matrix jobs to use the same workspace (that is named after the job name - not containing the config).

          [JENKINS-26334] There is no variable that contains the job name without the user defined axis.

          There are no comments yet on this issue.

            kohsuke Kohsuke Kawaguchi
            idbe Idbe Holdme
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: