]
Lukáš Valach commented on JBIDE-25515:
--------------------------------------
I avoided a security restrictions using [Scriptler
Plugin|https://wiki.jenkins.io/display/JENKINS/Scriptler+Plugin].
GetJBDSInstallerLink.groovy is stored at Jenkins and may be executed using "Scriptlet
script" build step.
GetJBDSInstallerLink.groovy scripts has no permissions to use some
features of Jenkins API
------------------------------------------------------------------------------------------
Key: JBIDE-25515
URL:
https://issues.jboss.org/browse/JBIDE-25515
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: qa
Affects Versions: 4.5.2.AM3
Reporter: Lukáš Valach
Assignee: Lukáš Valach
Fix For: 4.5.2.AM3
A lot of installer tests are failing because after last update of Jenkins script \[1\]
GetJBDSInstallerLink.groovy hasn't permission to use some features of Jenkins API.
\[1\]
https://github.com/jbdevstudio/jbdevstudio-qa/blob/master/jenkins-script/...
There is this error message in the log:
{code}
ERROR: Build step failed with exception
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not
permitted to use new java.util.HashMap
{code}
The rights were limited for a security reason so I need to findout a workaround.