代码拉取完成,页面将自动刷新
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
agent:
image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6
stages:
- name: ci
environment:
- name: GIT_COMMITTER_EMAIL
value: jenkins-x@googlegroups.com
- name: GIT_AUTHOR_EMAIL
value: jenkins-x@googlegroups.com
- name: GIT_AUTHOR_NAME
value: jenkins-x-bot
- name: GIT_COMMITTER_NAME
value: jenkins-x-bot
- name: BASE_WORKSPACE
value: /workspace/source
- name: GOPROXY
value: http://jenkins-x-athens-proxy:80
- name: JUNIT_REPORT
value: "true"
- name: PARALLEL_BUILDS
value: "2"
- name: DISABLE_TEST_CACHING
value: "true"
options:
containerOptions:
resources:
limits:
cpu: 4
memory: 8Gi
requests:
cpu: 3
memory: 3072Mi
steps:
- name: init-jx
image: gcr.io/jenkinsxio/builder-jx:0.1.639
command: jx
args: ['create','git','token','-n','fake','-t','1234','-u','https://github.com','fake']
- name: build
image: docker.io/golang:1.13.8
command: make
args: ['build']
- name: unit-test
image: docker.io/golang:1.13.8
command: make
args: ['test']
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。