Commit graph

66 commits

Author SHA1 Message Date
ed74c2ddb5 update bamboo status plugin 2019-05-29 17:43:56 +08:00
73388602a6
Merge pull request #2 from lei-at-mel/master
Merge Updates
2018-11-29 15:00:32 +08:00
Lei Chen
b8dce92a67 fix unit tests 2018-04-05 11:53:52 +10:00
Lei Chen
1b0690ed1a make the new template functional 2018-04-03 11:14:10 +10:00
Lei Chen
eb387dc432 change template to use individual checkbox instead of checkboxlist 2018-04-03 11:14:09 +10:00
Lei Chen
0cd163747e update pom file bamboo and plugin version 2018-04-03 11:14:09 +10:00
Lei Chen
69b3ed3fd9 add atlassian maven repository in pom 2018-03-26 21:05:48 +11:00
Lei Chen
5d68e159c5 ignore IntelliJ files 2018-03-26 20:48:32 +11:00
1201eafd4e merge with upstream 2017-03-23 13:41:08 +08:00
Michael Hackner
6c363aaf68 [maven-release-plugin] prepare for next development iteration 2017-03-20 11:38:26 -04:00
Michael Hackner
2758190d54 [maven-release-plugin] prepare release 1.7 2017-03-20 11:38:18 -04:00
Michael Hackner
3dd176734e Handle new version of GitHubRepository interface
Bamboo 5.15 changed the GitHubRepository interface to return the
unencrypted password.

Fixes #21, closes #22.
2017-03-18 22:45:14 -04:00
Michael Hackner
2e1139b44f Upgrade AMPS to 6.2.11, Bamboo to 5.15.3 2017-03-18 17:08:46 -04:00
Michael Hackner
ac79aa9b5e Add note about write permissions being required 2016-10-14 15:22:51 -04:00
Michael Hackner
ba4920fb09 Add README 2016-10-14 15:16:28 -04:00
Michael Hackner
8b7a6eb50e Hide configuration section if there are no GitHub repos
Closes #13.
2016-03-13 13:19:32 -04:00
Michael Hackner
5b08c281aa Look up plan from build configuration instead of stealing a reference to it from other method 2016-02-29 10:38:39 -05:00
Michael Hackner
dc1ee30bb4 [maven-release-plugin] prepare for next development iteration 2016-02-10 13:30:45 -05:00
Michael Hackner
fb40dade8f [maven-release-plugin] prepare release 1.6 2016-02-10 13:30:37 -05:00
Michael Hackner
b39c94f13d Revert "Save configuration after adding default values"
This reverts commit 6a4825a8d3.
2016-02-10 13:28:41 -05:00
Michael Hackner
645ee8b193 [maven-release-plugin] prepare for next development iteration 2016-01-23 18:17:34 -05:00
Michael Hackner
29a3d5c388 [maven-release-plugin] prepare release 1.5 2016-01-23 18:17:25 -05:00
Michael Hackner
6a4825a8d3 Save configuration after adding default values
Fixes #11.
2016-01-23 18:06:04 -05:00
Michael Hackner
0cb9895987 [maven-release-plugin] prepare for next development iteration 2015-12-13 13:00:53 -05:00
Michael Hackner
ff4ccc559e [maven-release-plugin] prepare release 1.4 2015-12-13 13:00:44 -05:00
Michael Hackner
64bb2378af Use actual Collection rather than String to hold repo IDs to test 2015-12-13 12:15:25 -05:00
Michael Hackner
caa97cface Refactor default repo selection logic into a reusable Predicate 2015-12-09 13:01:02 -05:00
Michael Hackner
e68a073f61 Only update primary repository instead of all by default 2015-12-09 12:51:50 -05:00
Michael Hackner
49ae3b4300 Add unit tests for repo selection 2015-12-07 16:17:04 -05:00
Michael Hackner
06248fe7f8 Break up main method a bit 2015-12-07 01:04:47 -05:00
Michael Hackner
d4b36c182f Use nullness of configuration directly instead of synthesizing one 2015-12-06 12:45:09 -05:00
Michael Hackner
b546f985c5 [maven-release-plugin] prepare for next development iteration 2015-12-04 16:11:48 -05:00
Michael Hackner
4257dc8f8c [maven-release-plugin] prepare release 1.3.1 2015-12-04 16:11:43 -05:00
Michael Hackner
ed44fc2efc Fix unsaved configs no longer working for branch builds 2015-12-04 16:10:17 -05:00
Michael Hackner
e0802787be [maven-release-plugin] prepare for next development iteration 2015-12-04 12:59:00 -05:00
Michael Hackner
d02b52f114 [maven-release-plugin] prepare release 1.3 2015-12-04 12:58:52 -05:00
Michael Hackner
c0664b6848 Fix branch builds not updating status due to different repo IDs
Fixes #10.
2015-12-04 12:51:04 -05:00
Andy Lindeman
d50e8ae568 Respect GitHub API Base URL
In [BAM-11589](https://jira.atlassian.com/browse/BAM-11589), Atlassian
mentioned they introduced a system property
(`atlassian.bamboo.github.api.base.url`) or environment variable
(`ATLASSIAN_BAMBOO_GITHUB_API_BASE_URL`) that can be used to customize
the address of GitHub's REST API.

The default, of course, is `https://api.github.com/`, the 'as a service'
version of GitHub. However, it can be changed to the address of a GitHub
Enterprise installation, allowing Bamboo's GitHub repository type to
interact with GitHub Enterprise.

This change modifies `github-bamboo-status` to honor the variable, just
like the core `bamboo-plugin-git` does.

Closes #9.
2015-11-22 12:02:59 -05:00
0f7644d1dc Update pom.xml
Drop back to previous version of Atlas SDK for now
2015-11-04 17:22:27 +08:00
1eb64aabba Merge pull request #1 from HackAttack/master
Sync
2015-11-04 17:12:54 +08:00
Michael Hackner
42440c2e3b [maven-release-plugin] prepare for next development iteration 2015-10-23 12:37:59 -04:00
Michael Hackner
2d06b509a1 [maven-release-plugin] prepare release 1.2 2015-10-23 12:37:54 -04:00
Michael Hackner
39e3f010ad Add a status context per stage
Closes #8.
2015-10-23 12:36:14 -04:00
Michael Hackner
5a7fb61339 Upgrade AMPS to 6.1.2 2015-10-21 10:48:09 -04:00
Michael Hackner
e88d924b27 Add repo selection to config
Closes #6.
2015-09-30 13:05:09 -04:00
Michael Hackner
dc80935d5b Upgrade AMPS to 5.1.18 2015-09-30 12:47:24 -04:00
Michael Hackner
1990680425 Refactor build state mapping to an actual map 2015-08-13 17:24:22 -04:00
Michael Hackner
e13ce0b300 Use built-in util to get the base URL 2015-08-06 15:32:31 -04:00
Michael Hackner
627c10b7ce Normalize SHA to 40 characters so custom revisions work 2015-08-02 21:48:04 -04:00
Michael Hackner
dba5911919 Switch to Kohsuke's GitHub library
Eclipse's doesn't support deployment statuses.
2015-08-02 19:20:03 -04:00