commit | 0d0d8522624f5f872a492edc1163dfc763e77c36 | [log] [tgz] |
---|---|---|
author | Dmitry Pyzhov <dpyzhov@mirantis.com> | Tue May 15 22:37:37 2018 +0300 |
committer | Dmitry Pyzhov <dpyzhov@mirantis.com> | Tue May 15 22:37:37 2018 +0300 |
tree | 206d7a27531649ffb66c19bfdcdf728a522ce380 | |
parent | a2edfb24d762bc228ebe7c4dfcc5518eb42b0d59 [diff] |
waitForInputThenPass helper We need to have a timeout in user input and continue pipeline. However default behaviour is to fail the job. Unfortunately there is no easy way to distinguish user abort from timeout. Official workaround is to look at the user name. But getUser() function is forbidden by Script Security Plugin. This is why we have to move this function to pipeline library. Change-Id: Ic8cfe939f3d2694db49b3413eb246c89f89f9f4f