[JIRA] (JENKINS-61282) PIpeline sleep step should approve java.util.concurrent.TimeUnit

2 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 29, 2020, 11:58:03 AM2/29/20
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Improvement JENKINS-61282
PIpeline sleep step should approve java.util.concurrent.TimeUnit
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: pipeline
Created: 2020-02-29 16:57
Environment: Jenkins 2.204.3
Latest pipeline plugin releases as of Feb 29, 2020
Priority: Minor Minor
Reporter: Mark Waite

When I add a sleep step with non-default units, like:

sleep(131, TimeUnit.MILLISECONDS)

The script approval subsystem requires that I approve the use of java.util.concurrent.TimeUnit

It would be better for the user if the data types allowed in a Pipeline call were already approved. Especially for enumerations like TimeUnit.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages