Commit a48254fe authored by 卢浩元's avatar 卢浩元

Update Jenkinsfile-sonar

parent 53d3cc13
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// def label = "mypod-${UUID.randomUUID().toString()}" // def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(cloud: 'kubernetes', inheritFrom: 'default', containers: [ podTemplate(cloud: 'kubernetes', inheritFrom: 'default', containers: [
containerTemplate(name: 'maven', image: 'harbor.k2software.com.cn/build/maven:3.6.0-jdk-8', command: 'cat', ttyEnabled: true, resourceRequestCpu: '500m', resourceRequestMemory: '500Mi'), containerTemplate(name: 'maven', image: 'harbor.k2software.com.cn/build/maven:3.6.0-jdk-8', command: 'cat', ttyEnabled: true),
containerTemplate(name: 'sonar', image: 'harbor.k2software.com.cn/build/sonar-scanner-cli:4.3', command: 'cat', ttyEnabled: true, resourceRequestCpu: '100m', resourceRequestMemory: '100Mi'), containerTemplate(name: 'sonar', image: 'harbor.k2software.com.cn/build/sonar-scanner-cli:4.3', command: 'cat', ttyEnabled: true),
], ],
volumes: [ volumes: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment