Commit 28130706 authored by Ben Cooksley's avatar Ben Cooksley

Based on my research looks like when you have a single variable you don't get...

Based on my research looks like when you have a single variable you don't get an array/object, you just get the input you asked for directly
parent 78179c30
......@@ -3,7 +3,6 @@ def buildParameters = input(
message: 'Which version of Krita is being built?',
ok: 'Begin Build',
parameters: [
choice(choices: "stable\nunstable\n", description: '', name: 'Release'),
string(defaultValue: '', description: '', name: 'Version', trim: true)
]
)
......@@ -11,7 +10,7 @@ def buildParameters = input(
// Pull the version we've been given out to a separate variable
// We need to do this otherwise Jenkins will throw it's toys and claim we are violating a security sandbox which will expose our instance to vulnerabilites
// The Jenkins Security Sandbox is IMO broken and faulty in this regard
def buildVersion = buildParameters.Version ?: ''
def buildVersion = buildParameters ?: ''
// Request a node to be allocated to us
node( "Appimage1604" ) {
......
......@@ -10,7 +10,7 @@ def buildParameters = input(
// Pull the version we've been given out to a separate variable
// We need to do this otherwise Jenkins will throw it's toys and claim we are violating a security sandbox which will expose our instance to vulnerabilites
// The Jenkins Security Sandbox is IMO broken and faulty in this regard
def buildVersion = buildParameters.Version ?: ''
def buildVersion = buildParameters ?: ''
// Request a node to be allocated to us
node( "macOS" ) {
......
......@@ -10,7 +10,7 @@ def buildParameters = input(
// Pull the version we've been given out to a separate variable
// We need to do this otherwise Jenkins will throw it's toys and claim we are violating a security sandbox which will expose our instance to vulnerabilites
// The Jenkins Security Sandbox is IMO broken and faulty in this regard
def buildVersion = buildParameters.Version ?: ''
def buildVersion = buildParameters ?: ''
// Request a node to be allocated to us
node( "WindowsMingw" ) {
......
......@@ -10,7 +10,7 @@ def buildParameters = input(
// Pull the version we've been given out to a separate variable
// We need to do this otherwise Jenkins will throw it's toys and claim we are violating a security sandbox which will expose our instance to vulnerabilites
// The Jenkins Security Sandbox is IMO broken and faulty in this regard
def buildVersion = buildParameters.Version ?: ''
def buildVersion = buildParameters ?: ''
// Request a node to be allocated to us
node( "WindowsMingw" ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment