admin管理员组文章数量:1291718
If a pipeline timeouts currently working via SSH Agent on another host, the timeout leads not to an aborted state - it just continues. This could be a bug, maybe someone could confirm this with provided snippet below. Issue reporting on Github for SSH Agent project is disabled, dunno how to adress this to the devs in case its a bug.
stage('test timeout') {
options {
timeout(time: 10 , unit: "SECONDS")
}
steps {
script {
sshagent (credentials: ['somecredentials']) {
sh """
ssh someUser@someHost sleep 20
"""
}
}
}
本文标签: Jenkins SSH Agent wrong timeout handlingStack Overflow
版权声明:本文标题:Jenkins SSH Agent wrong timeout handling? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741536733a2384068.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论