Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pmuir/5dc0d5d39f1bf09998a78b4b6cdc891e to your computer and use it in GitHub Desktop.
Save pmuir/5dc0d5d39f1bf09998a78b4b6cdc891e to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: jenkins.io/v1
kind: CommitStatus
metadata:
clusterName: ""
creationTimestamp: 2018-10-26T20:35:34Z
labels:
lastCommitSha: 332e9bd8bbc8636ab9f9e9eb7f8b4300b811cb5b
name: muirp-jwdemo-master-6-compliance-check
namespace: jx
resourceVersion: "2144497"
selfLink: /apis/jenkins.io/v1/namespaces/jx/commitstatuses/muirp-jwdemo-master-6-compliance-check
uid: b0b6040c-d95e-11e8-926a-42010a9c000b
spec:
items:
- checked: false
commit:
gitUrl: https://github.com/muirp/jwdemo.git
sha: 332e9bd8bbc8636ab9f9e9eb7f8b4300b811cb5b
context: compliance-check
pipelineActivity:
apiVersion: ""
kind: ""
name: muirp-jwdemo-master-6
uid: 8bd16b4e-d95b-11e8-926a-42010a9c000b
kind: List
metadata:
resourceVersion: ""
selfLink: ""
apiVersion: jenkins.io/v1
kind: PipelineActivity
metadata:
clusterName: ""
creationTimestamp: 2018-10-26T20:13:04Z
generation: 0
name: muirp-jwdemo-master-6
namespace: jx
resourceVersion: "2142763"
selfLink: /apis/jenkins.io/v1/namespaces/jx/pipelineactivities/muirp-jwdemo-master-6
uid: 8bd16b4e-d95b-11e8-926a-42010a9c000b
spec:
attachments:
- name: jacoco
urls:
- https://muirp.github.io/jwdemo/jenkins-x/master/6/jacoco/jacoco.xml
- name: spotbugs
urls:
- https://muirp.github.io/jwdemo/jenkins-x/master/6/spotbugs/spotbugsXml.xml
build: "6"
buildLogsUrl: http://jenkins.jx.35.234.89.78.nip.io/job/muirp/job/jwdemo/job/master/6/console
buildUrl: http://jenkins.jx.35.234.89.78.nip.io/blue/organizations/jenkins/muirp%2Fjwdemo/detail/master/6/pipeline
completedTimestamp: 2018-10-26T20:23:10Z
facts:
- factType: jx.staticProgramAnalysis
id: 0
measurements:
- measurementType: count
measurementValue: 0
name: summary-TotalBugs
- measurementType: count
measurementValue: 0
name: summary-High
- measurementType: count
measurementValue: 0
name: summary-Normal
- measurementType: count
measurementValue: 0
name: summary-Low
- measurementType: count
measurementValue: 0
name: summary-Ignored
- measurementType: count
measurementValue: 1
name: summary-TotalClasses
name: ""
original:
tags:
- spotbugsXml.xml
statements: null
tags:
- spotbugs
- factType: jx.coverage
id: 0
measurements:
- measurementType: percent
measurementValue: 3
name: Instructions-Coverage
- measurementType: percent
measurementValue: 5
name: Instructions-Missed
- measurementType: percent
measurementValue: 8
name: Instructions-Total
- measurementType: percent
measurementValue: 1
name: Lines-Coverage
- measurementType: percent
measurementValue: 2
name: Lines-Missed
- measurementType: percent
measurementValue: 3
name: Lines-Total
- measurementType: percent
measurementValue: 1
name: Complexity-Coverage
- measurementType: percent
measurementValue: 1
name: Complexity-Missed
- measurementType: percent
measurementValue: 2
name: Complexity-Total
- measurementType: percent
measurementValue: 1
name: Methods-Coverage
- measurementType: percent
measurementValue: 1
name: Methods-Missed
- measurementType: percent
measurementValue: 2
name: Methods-Total
- measurementType: percent
measurementValue: 1
name: Classes-Coverage
- measurementType: percent
measurementValue: 0
name: Classes-Missed
- measurementType: percent
measurementValue: 1
name: Classes-Total
name: ""
original:
tags:
- jacoco.xml
statements: null
tags:
- jacoco
gitOwner: muirp
gitRepository: jwdemo
gitUrl: https://github.com/muirp/jwdemo.git
lastCommitMessage: |2-
Update README.md
lastCommitSHA: 332e9bd8bbc8636ab9f9e9eb7f8b4300b811cb5b
pipeline: muirp/jwdemo/master
postExtensions:
- description: Runs Jacoco against a Maven project
environmentVariables:
- name: JX_JACOCO_MAVEN_RUN_VERSION
value: 0.8.2
- name: EXT_VERSION
value: 0.0.74
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.jacoco-maven-run
uid: fbc16555-d2e9-11e8-926a-42010a9c000b
name: jacocoMavenRun
namespace: jx
script: |-
#!/bin/sh
mvn org.jacoco:jacoco-maven-plugin:${JX_JACOCO_MAVEN_VERSION}:prepare-agent test org.jacoco:jacoco-maven-plugin:${JX_JACOCO_MAVEN_VERSION}:report
uuid: 9e5d0a9e-c7c7-11e8-a8d5-f2801f1b9fd1
- description: Publishes Jacoco reports generated by the Jacoco Maven Plugin
environmentVariables:
- name: JX_JACOCO_MAVEN_PUBLISH_PROVIDER
value: github
- name: EXT_VERSION
value: 0.0.74
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.jacoco-maven-publish
uid: fc1d8be4-d2e9-11e8-926a-42010a9c000b
name: jacocoMavenPublish
namespace: jx
script: |-
#!/bin/sh
jx step collect --provider=${JX_JACOCO_MAVEN_PUBLISH_PROVIDER} --pattern=target/site/jacoco/jacoco.xml --classifier=jacoco
uuid: 9e5d0e40-c7c7-11e8-a8d5-f2801f1b9fd1
- description: Runs SpotBugs against a Maven project and attaches the output to
the build
environmentVariables:
- name: JX_SPOTBUGS_MAVEN_RUN_VERSION
value: 3.1.6
- name: EXT_VERSION
value: 0.0.25
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.spotbugs-maven-run
uid: fd4e90d0-d2e9-11e8-926a-42010a9c000b
name: spotbugsMavenRun
namespace: jx
script: "#!/bin/sh\nmvn compile com.github.spotbugs:spotbugs-maven-plugin:${JX_SPOTBUGS_MAVEN_VERSION}:spotbugs\n
\ "
uuid: dbaa4866-cb29-11e8-a8d5-f2801f1b9fd1
- description: Publishes SpotBugs reports generated by the SpotBugs Maven Plugin
environmentVariables:
- name: JX_SPOTBUGS_MAVEN_PUBLISH_PROVIDER
value: github
- name: EXT_VERSION
value: 0.0.25
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.spotbugs-maven-publish
uid: fd8b3383-d2e9-11e8-926a-42010a9c000b
name: spotbugsMavenPublish
namespace: jx
script: |-
#!/bin/sh
jx step collect --provider=${JX_SPOTBUGS_MAVEN_PUBLISH_PROVIDER} --pattern=target/spotbugsXml.xml --classifier=spotbugs
uuid: 9e5d0968-c7c7-11e8-a8d5-f2801f1b9fd1
releaseNotesURL: https://github.com/muirp/jwdemo/releases/tag/v0.0.6
startedTimestamp: 2018-10-26T20:18:09Z
status: Succeeded
steps:
- kind: stage
stage:
completedTimestamp: 2018-10-26T20:18:18Z
name: Checkout Source
startedTimestamp: 2018-10-26T20:18:17Z
status: Succeeded
- kind: stage
stage:
name: CI Build and push snapshot
startedTimestamp: 2018-10-26T20:18:18Z
status: NotExecuted
- kind: stage
stage:
completedTimestamp: 2018-10-26T20:19:18Z
name: Build Release
startedTimestamp: 2018-10-26T20:18:19Z
status: Succeeded
- kind: stage
stage:
completedTimestamp: 2018-10-26T20:22:24Z
name: Promote to Environments
startedTimestamp: 2018-10-26T20:19:18Z
status: Succeeded
- kind: Promote
promote:
environment: staging
pullRequest:
completedTimestamp: 2018-10-26T20:22:15Z
mergeCommitSHA: 2d453dd945f0b885c197c01795e8de12a4cb5403
pullRequestURL: https://github.com/muirp/environment-stealerspectrum-staging/pull/12
startedTimestamp: 2018-10-26T20:19:27Z
status: Succeeded
startedTimestamp: 2018-10-26T20:19:27Z
status: Running
- kind: stage
stage:
completedTimestamp: 2018-10-26T20:23:10Z
name: Clean up
startedTimestamp: 2018-10-26T20:22:24Z
status: Succeeded
version: 0.0.6
workflowStatus: Running
status: {}
apiVersion: jenkins.io/v1
kind: PipelineActivity
metadata:
clusterName: ""
creationTimestamp: 2018-10-18T16:05:53Z
generation: 0
name: muirp-jwdemo-pr-2-1
namespace: jx
resourceVersion: "1191069"
selfLink: /apis/jenkins.io/v1/namespaces/jx/pipelineactivities/muirp-jwdemo-pr-2-1
uid: b0c50651-d2ef-11e8-926a-42010a9c000b
spec:
attachments:
- name: jacoco
urls:
- https://muirp.github.io/jwdemo/jenkins-x/PR-2/1/jacoco/jacoco.xml
- name: spotbugs
urls:
- https://muirp.github.io/jwdemo/jenkins-x/PR-2/1/spotbugs/spotbugsXml.xml
build: "1"
buildLogsUrl: http://jenkins.jx.35.234.89.78.nip.io/job/muirp/job/jwdemo/job/PR-2/1/console
buildUrl: http://jenkins.jx.35.234.89.78.nip.io/blue/organizations/jenkins/muirp%2Fjwdemo/detail/PR-2/1/pipeline
completedTimestamp: 2018-10-18T16:12:58Z
facts:
- factType: jx.staticProgramAnalysis
id: 0
measurements:
- measurementType: count
measurementValue: 0
name: summary-TotalBugs
- measurementType: count
measurementValue: 0
name: summary-High
- measurementType: count
measurementValue: 0
name: summary-Normal
- measurementType: count
measurementValue: 0
name: summary-Low
- measurementType: count
measurementValue: 0
name: summary-Ignored
- measurementType: count
measurementValue: 1
name: summary-TotalClasses
name: ""
original:
tags:
- spotbugsXml.xml
statements: null
tags:
- spotbugs
- factType: jx.coverage
id: 0
measurements:
- measurementType: percent
measurementValue: 3
name: Instructions-Coverage
- measurementType: percent
measurementValue: 5
name: Instructions-Missed
- measurementType: percent
measurementValue: 8
name: Instructions-Total
- measurementType: percent
measurementValue: 1
name: Lines-Coverage
- measurementType: percent
measurementValue: 2
name: Lines-Missed
- measurementType: percent
measurementValue: 3
name: Lines-Total
- measurementType: percent
measurementValue: 1
name: Complexity-Coverage
- measurementType: percent
measurementValue: 1
name: Complexity-Missed
- measurementType: percent
measurementValue: 2
name: Complexity-Total
- measurementType: percent
measurementValue: 1
name: Methods-Coverage
- measurementType: percent
measurementValue: 1
name: Methods-Missed
- measurementType: percent
measurementValue: 2
name: Methods-Total
- measurementType: percent
measurementValue: 1
name: Classes-Coverage
- measurementType: percent
measurementValue: 0
name: Classes-Missed
- measurementType: percent
measurementValue: 1
name: Classes-Total
name: ""
original:
tags:
- jacoco.xml
statements: null
tags:
- jacoco
gitRepository: jwdemo
pipeline: muirp/jwdemo/pr-2
postExtensions:
- description: Runs Jacoco against a Maven project
environmentVariables:
- name: JX_JACOCO_MAVEN_RUN_VERSION
value: 0.8.2
- name: EXT_VERSION
value: 0.0.74
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.jacoco-maven-run
uid: fbc16555-d2e9-11e8-926a-42010a9c000b
name: jacocoMavenRun
namespace: jx
script: |-
#!/bin/sh
mvn org.jacoco:jacoco-maven-plugin:${JX_JACOCO_MAVEN_VERSION}:prepare-agent test org.jacoco:jacoco-maven-plugin:${JX_JACOCO_MAVEN_VERSION}:report
uuid: 9e5d0a9e-c7c7-11e8-a8d5-f2801f1b9fd1
- description: Publishes Jacoco reports generated by the Jacoco Maven Plugin
environmentVariables:
- name: JX_JACOCO_MAVEN_PUBLISH_PROVIDER
value: github
- name: EXT_VERSION
value: 0.0.74
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.jacoco-maven-publish
uid: fc1d8be4-d2e9-11e8-926a-42010a9c000b
name: jacocoMavenPublish
namespace: jx
script: |-
#!/bin/sh
jx step collect --provider=${JX_JACOCO_MAVEN_PUBLISH_PROVIDER} --pattern=target/site/jacoco/jacoco.xml --classifier=jacoco
uuid: 9e5d0e40-c7c7-11e8-a8d5-f2801f1b9fd1
- description: Runs SpotBugs against a Maven project and attaches the output to
the build
environmentVariables:
- name: JX_SPOTBUGS_MAVEN_RUN_VERSION
value: 3.1.6
- name: EXT_VERSION
value: 0.0.25
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.spotbugs-maven-run
uid: fd4e90d0-d2e9-11e8-926a-42010a9c000b
name: spotbugsMavenRun
namespace: jx
script: "#!/bin/sh\nmvn compile com.github.spotbugs:spotbugs-maven-plugin:${JX_SPOTBUGS_MAVEN_VERSION}:spotbugs\n
\ "
uuid: dbaa4866-cb29-11e8-a8d5-f2801f1b9fd1
- description: Publishes SpotBugs reports generated by the SpotBugs Maven Plugin
environmentVariables:
- name: JX_SPOTBUGS_MAVEN_PUBLISH_PROVIDER
value: github
- name: EXT_VERSION
value: 0.0.25
- name: EXT_TEAM_NAMESPACE
value: jx
- name: EXT_OWNER_REFERENCE
value: |
apiVersion: v1
controller: true
kind: Extension
name: jx.spotbugs-maven-publish
uid: fd8b3383-d2e9-11e8-926a-42010a9c000b
name: spotbugsMavenPublish
namespace: jx
script: |-
#!/bin/sh
jx step collect --provider=${JX_SPOTBUGS_MAVEN_PUBLISH_PROVIDER} --pattern=target/spotbugsXml.xml --classifier=spotbugs
uuid: 9e5d0968-c7c7-11e8-a8d5-f2801f1b9fd1
startedTimestamp: 2018-10-18T16:10:46Z
status: Succeeded
steps:
- kind: stage
stage:
completedTimestamp: 2018-10-18T16:10:54Z
name: Checkout Source
startedTimestamp: 2018-10-18T16:10:54Z
status: Succeeded
- kind: stage
stage:
completedTimestamp: 2018-10-18T16:12:09Z
name: CI Build and push snapshot
startedTimestamp: 2018-10-18T16:10:54Z
status: Succeeded
- kind: Preview
preview:
applicationURL: http://jwdemo.jx-muirp-jwdemo-pr-2.35.234.89.78.nip.io
pullRequestURL: https://github.com/muirp/jwdemo/pull/2
startedTimestamp: 2018-10-18T16:12:07Z
- kind: stage
stage:
name: Build Release
startedTimestamp: 2018-10-18T16:12:09Z
status: NotExecuted
- kind: stage
stage:
name: Promote to Environments
startedTimestamp: 2018-10-18T16:12:09Z
status: NotExecuted
- kind: stage
stage:
completedTimestamp: 2018-10-18T16:12:58Z
name: Clean up
startedTimestamp: 2018-10-18T16:12:09Z
status: Succeeded
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment