Mark Jenkins build as success, in case of timeout on input? (declarative pipeline)

I'm creating a declarative Jenkins pipeline, that looks like this: pipeline { agent { label 'mylabel' } stages { stage('Install dependencies') { milestone()...