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
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/2e3bebe2-a050-4e7b-8f52-924605ce38c8n%40googlegroups.com.