[JIRA] (JENKINS-57645) Simple mapping instead of script

1 view
Skip to first unread message

Simon.Richter@hogyros.de (JIRA)

unread,
May 23, 2019, 10:17:02 AM5/23/19
to jenkinsc...@googlegroups.com
Simon Richter created an issue
 
Jenkins / Improvement JENKINS-57645
Simple mapping instead of script
Issue Type: Improvement Improvement
Assignee: Dawid Malinowski
Components: environment-script-plugin
Created: 2019-05-23 14:16
Priority: Minor Minor
Reporter: Simon Richter

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages