最终,我确实找到了完成这项工作的方法:
stage ("wait_prior_starting_smoke_testing") { def time = params.SLEEP_TIME_IN_SEConDS echo "Waiting ${SLEEP_TIME_IN_SECONDS} seconds for deployment to complete prior starting smoke testing" sleep time.toInteger() // seconds}


