使用超时
Number of executors (最大执行数): 1~5 远程工作目录: /home/jenkins/agent 标签: docker-jnlp-1 启动方式: 通过 Java Web 启动代理 可用性: 尽量保持代理在线 # 节点属性 - 工具位置: 请按照实际情况填写。 # 例如, Docker 配置,名称 Docker ,目录 /var/run/docker.sock - 环境变量: # 例如,键值对...
numExecutors: '1', unixData: new UnixData(null, null, null, sshPortToConnectWith, null), remoteFS: '', remoteAdmin: 'ec2-user', tmpDir: '', securityGroups: 'sg-11111111', stopOnTerminate: false, subnetId: 'subnet-SSSSSSSS', tags: new EC2Tag('Name', 'jenkins-worker'), type: '...
launchTimeoutStr:'',numExecutors:'1',unixData:newUnixData(null,null,null, sshPortToConnectWith,null),remoteFS:'',remoteAdmin:'ec2-user',tmpDir:'',securityGroups:'sg-11111111',stopOnTerminate:false,subnetId:'subnet-SSSSSSSS',tags:newEC2Tag('Name','jenkins-worker'),type:'t2...
'busyExecutors': 0, 'displayName': 'nodes', 'computer': [ { 'idle': true, 'executors': [ { }, { } ], 'actions': [ ], 'temporarilyOffline': false, 'loadStatistics': { }, 'displayName': 'master', 'oneOffExecutors': [ ...
您正在将Jenkins本身作为一个容器运行。因此,docker命令行应用程序必须存在于容器中,而不是主机中。
# of executorsThis refers to the total number of concurrent job executions that can take place on the Jenkins machine. This can be changed based on requirements. Sometimes the recommendation is to keep this number the same as the number of CPU on the machines for better performance.Environment...
pipeline { agent { kubernetes { label 'mypod' yaml """ apiVersion: v1 kind: Pod metadata: labels: some-label: some-label-value spec: containers: - name: maven image: maven:alpine command: - cat tty: true - name: busybox image: busybox command: - cat tty: true """ } } stages...
pretty=true' try: log.info('Sending request to Jenkins: %s', jenkins_request_url) r = requests.Request(method='GET', url=jenkins_request_url, verify=False) response = self.jenkins.jenkins_request(r).json() return int(response['totalExecutors']) - int(response['busyExecutors']) except ...
response = self.jenkins.jenkins_request(r).json()returnint(response['totalExecutors']) - int(response['busyExecutors'])exceptExceptionase: log.exception('Failed to send request toJenkins!\nException message: %s', str(e))raise 开发者ID:NervanaSystems,项目名称:ngraph-onnx,代码行数:20,代码来源...