github.com/jenkins-x/jx-api@v0.0.24/jenkins-x.yml (about)

     1  buildPack: none
     2  pipelineConfig:
     3    pipelines:
     4      pullRequest:
     5        pipeline:
     6          agent:
     7            image: gcr.io/jenkinsxio/builder-go
     8          stages:
     9          - name: ci
    10            environment:
    11            - name: BASE_WORKSPACE
    12              value: /workspace/source
    13            - name: GOPATH
    14              value: /workspace/go
    15            - name: PATH
    16              value: "/usr/local/git/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/workspace/go/bin"
    17            steps:
    18            - name: test
    19              command: make
    20              image: golang:1.13.10
    21              args:
    22              - test
    23              dir: /workspace/source
    24            - name: lint
    25              command: ./hack/linter.sh
    26              image: golang:1.13.10
    27            - name: mk-jxapi-project-dir
    28              image: bash
    29              command: mkdir
    30              args:
    31              - -p
    32              - /workspace/go/src/github.com/jenkins-x/jx-api
    33            - name: copy-jxapi-project-to-gopath
    34              image: bash
    35              command: cp
    36              args:
    37              - -Rv
    38              - "./"
    39              - "/workspace/go/src/github.com/jenkins-x/jx-api"
    40              dir: /workspace/source
    41            - name: verify-codegen
    42              command: ./hack/generate.sh
    43              image: golang:1.13.10
    44              dir: /workspace/go/src/github.com/jenkins-x/jx-api
    45      release:
    46        pipeline:
    47          agent:
    48            image: gcr.io/jenkinsxio/builder-go
    49          stages:
    50          - name: release
    51            steps:
    52            - name: changelog
    53              command: ./changelog.sh