Add support for password prompting on job launch

This commit is contained in:
mabashian
2021-01-06 13:17:49 -05:00
parent 3a467067f3
commit 448e49ae43
21 changed files with 1481 additions and 181 deletions

View File

@@ -25,6 +25,8 @@ function canLaunchWithoutPrompt(launchData) {
!launchData.ask_limit_on_launch &&
!launchData.ask_scm_branch_on_launch &&
!launchData.survey_enabled &&
(!launchData.passwords_needed_to_start ||
launchData.passwords_needed_to_start.length === 0) &&
(!launchData.variables_needed_to_start ||
launchData.variables_needed_to_start.length === 0)
);