Hi,
Is there any difference between the timeout section and the timeout option? For example, are
stage('Test') {
timeout (time: 1, unit: 'HOURS') {
steps {
./test.sh
}
}
}
and
stage('Test') {
option { timeout (time: 1, unit: 'HOURS') }
steps {
./test.sh
}
}
equivalent?
Jenkins version: 2.289.3
Thanks,
—Sagar