Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgmer committed Feb 12, 2022
1 parent 50959de commit df75ed5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 19 deletions.
18 changes: 9 additions & 9 deletions BUILD_SERVERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

Prerequisite is a download of build-facts:

$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.0/build-facts-0.6.0-standalone.jar
$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.1/build-facts-0.6.1-standalone.jar

## Concourse

Authentication with Concourse relies on Concourse's `fly` CLI. You can download
it from your Concourse instance's main page. To get started run

$ fly login --target build-facts -c http://localhost:8080 # replace with your Concourse URL
$ java -jar build-facts-0.6.0-standalone.jar concourse build-facts
$ java -jar build-facts-0.6.1-standalone.jar concourse build-facts

See `java -jar build-facts-0.6.0-standalone.jar concourse --help` for more
See `java -jar build-facts-0.6.1-standalone.jar concourse --help` for more
options.


Expand All @@ -26,9 +26,9 @@ Test results will be picked up automatically if
[published as a JUnit XML report file](https://www.go.cd/documentation/user/current/configuration/dev_upload_test_report.html).

$ GOCD_USER="..." GOCD_PASSWORD="..." \
java -jar build-facts-0.6.0-standalone.jar gocd http://localhost:8153/go # replace with your GoCD URL
java -jar build-facts-0.6.1-standalone.jar gocd http://localhost:8153/go # replace with your GoCD URL

See `java -jar build-facts-0.6.0-standalone.jar gocd --help` for more options.
See `java -jar build-facts-0.6.1-standalone.jar gocd --help` for more options.


## Jenkins
Expand All @@ -39,9 +39,9 @@ parameters as offered by the
[Parameterized Trigger Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin).

$ JENKINS_USER="..." JENKINS_PASSWORD="..." \
java -jar build-facts-0.6.0-standalone.jar jenkins http://localhost:8080 # replace with your Jenkins URL
java -jar build-facts-0.6.1-standalone.jar jenkins http://localhost:8080 # replace with your Jenkins URL

See `java -jar build-facts-0.6.0-standalone.jar jenkins --help` for more
See `java -jar build-facts-0.6.1-standalone.jar jenkins --help` for more
options.


Expand All @@ -54,11 +54,11 @@ reporter" option selected), or via "Build Features" with "XML report processing"
configured to pick up `*.xml` test artifacts generated by the test run.

$ TEAMCITY_USER="..." TEAMCITY_PASSWORD="..." \
java -jar build-facts-0.6.0-standalone.jar teamcity http://localhost:8111 -p PROJECT_NAME # replace with your TeamCity URL and project name
java -jar build-facts-0.6.1-standalone.jar teamcity http://localhost:8111 -p PROJECT_NAME # replace with your TeamCity URL and project name

Due to https://youtrack.jetbrains.com/issue/TW-45063 the option via Rake & RSpec
will not provide a great level of detail for test results, so going the extra
mile and using the workaround provided in the issue linked will help here.

See `java -jar build-facts-0.6.0-standalone.jar teamcity --help` for more
See `java -jar build-facts-0.6.1-standalone.jar teamcity --help` for more
options.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [0.6.1] - 2022-02-12
### Fixed
- The jar contained superfluous files from the development setup increasing the file size.


## [0.6.0] - 2022-02-12
### Added
- Support for `triggeredBy` information from Concourse CI.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Download build facts from different CI/CD servers in a standard JSON schema.
You then take it from there with your own analytics.

$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.0/build-facts-0.6.0-standalone.jar
$ java -jar build-facts-0.6.0-standalone.jar jenkins http://localhost:8080
$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.1/build-facts-0.6.1-standalone.jar
$ java -jar build-facts-0.6.1-standalone.jar jenkins http://localhost:8080
Finding all builds for syncing from http://localhost:8080 (starting from 2021-01-06T23:00:00.000Z)...
{"jobName":"Test","buildId":"1","start":1615151319678,"end":1615151342243,"outcome":"pass","inputs":[{"revision":"9bb731de4f4372a8c3b4e53e7d70cd729b32419c","sourceId":"https://github.com/cburgmer/buildviz.git"}]}
{"jobName":"Test","buildId":"2","start":1615151342348,"end":1615151344854,"outcome":"pass","inputs":[{"revision":"9bb731de4f4372a8c3b4e53e7d70cd729b32419c","sourceId":"https://github.com/cburgmer/buildviz.git"}]}
Expand Down
14 changes: 7 additions & 7 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ Remove container and purge images

Sync data

$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.0/build-facts-0.6.0-standalone.jar
$ java -jar build-facts-0.6.0-standalone.jar jenkins http://localhost:8080
$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.1/build-facts-0.6.1-standalone.jar
$ java -jar build-facts-0.6.1-standalone.jar jenkins http://localhost:8080

##### Concourse

Sync data

$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.0/build-facts-0.6.0-standalone.jar
$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.1/build-facts-0.6.1-standalone.jar
$ fly login --target build-facts -c http://localhost:8080
$ java -jar build-facts-0.6.0-standalone.jar concourse build-facts 'http://localhost:8080'
$ java -jar build-facts-0.6.1-standalone.jar concourse build-facts 'http://localhost:8080'

##### TeamCity

Sync data

$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.0/build-facts-0.6.0-standalone.jar
$ TEAMCITY_USER=admin TEAMCITY_PASSWORD=admin java -jar build-facts-0.6.0-standalone.jar teamcity 'http://localhost:8111' -p SimpleSetup
$ curl -LO https://github.com/cburgmer/build-facts/releases/download/0.6.1/build-facts-0.6.1-standalone.jar
$ TEAMCITY_USER=admin TEAMCITY_PASSWORD=admin java -jar build-facts-0.6.1-standalone.jar teamcity 'http://localhost:8111' -p SimpleSetup


### Splunk
Expand All @@ -67,7 +67,7 @@ Start up Splunk and a build server of your choice

Sync data from the build server into Splunk

$ java -jar build-facts-0.6.0-standalone.jar jenkins http://localhost:8080 --splunk \
$ java -jar build-facts-0.6.1-standalone.jar jenkins http://localhost:8080 --splunk \
curl -k -d@- -H 'Transfer-Encoding: chunked' -H "Authorization: Splunk 1234567890qwertyuiop" \
'https://localhost:8088/services/collector'

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject build-facts "0.6.0"
(defproject build-facts "0.6.1"
:description "Dump your build pipeline's data for inspection"
:url "https://github.com/cburgmer/build-facts"
:license {:name "BSD 2-Clause"
Expand Down

0 comments on commit df75ed5

Please sign in to comment.