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

Simple mapping instead of script

XMLWordPrintable

      I'd like to map matrix parameters to values used during the build because some tools disagree on the names of various things, e.g. "amd64" vs "x86_64" vs "Win64".

      Since the job might run on Linux or Windows, it is difficult to write a script that will always work. All I need is a simple table based mapping, so it might be nice to have a way to configure that instead of a script.

      e.g. mapping from $compiler;$version;$target to $cmake_generator, I could define

          msvc;2015;x86 -> "Visual Studio 2015 17"
          msvc;2015;amd64 -> "Visual Studio 2015 17 Win64"
          msvc;2015;arm64 -> "Visual Studio 2015 17 ARM64"

      and then subsequently use $cmake_generator as the generator argument for the CMake plugin.

      Being able to define multiple output values in the same line would also be nice in case I need more derived values (e.g. for installation paths).

            dawidmalina Dawid Malinowski
            simonrichter Simon Richter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: