[英]How to change the default timeout for the Jenkins Artifactory plugin in a Multibranch Pipeline job?
I have a Jenkins Multibranch Pipeline build job that is uploading a rather large number of big files to Artifactory, and therefore the upload step is taking longer than the default 5 minute limit defined in the Artifactory Jenkins plugin: 我有一个Jenkins Multibranch Pipeline构建作业,正在将大量的大文件上传到Artifactory,因此,上传步骤所花费的时间超过了Artifactory Jenkins插件中定义的默认5分钟限制:
src/main/java/org/jfrog/hudson/ArtifactoryServer.java: private static final int DEFAULT_CONNECTION_TIMEOUT = 300; // 5 Minutes
How can I specify a longer timeout in my Jenkinsfile so my build jobs can get successfully uploaded and stop failing? 如何在Jenkinsfile中指定更长的超时时间,以便我的构建作业可以成功上传并停止失败?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.