Skip to content

Commit 31703d4

Browse files
authored
Merge branch 'master' into patch-1
2 parents fe02b32 + 6b03cbc commit 31703d4

13 files changed

Lines changed: 206 additions & 89 deletions

File tree

CHANGELOG.markdown

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
1-
#2.4.0
1+
# 4.4.1
2+
* Added support for teamcity configuration parameter "system.SLACK_IGNORE_COMMIT_MESSAGE" to allow user to ignore adding commits to slack message.
3+
4+
# 4.4.0
5+
* Added support for teamcity configuration parameter "system.POST_TO_SLACK" to supress posts from config level instead of project level by setting it to false or 0. Fixed bug with existing system.SLACK_CHANNEL param name for overwriting settings at the config level.
6+
7+
# 4.3.0
8+
* Bumped up Teamcity library versions to 2018
9+
10+
# 4.2.2
11+
* Added test passed/failed count as another field to the Slack post
12+
13+
# 4.1.1
14+
* Moved commit messages to their own attachment and updated formatting
15+
16+
# 4.0.2
17+
* Added commit messages as a field to slack message
18+
19+
# 3.0.0
20+
* recompiled for TeamCity 2017.2, with updated dependencies, Java 8.
21+
22+
# 2.6.0
23+
* Missing/Internal release
24+
25+
# 2.5.0
26+
* Missing/Internal release
27+
28+
# 2.4.0
229

330
* Added issues as attachment
431
* Support for new Slack url format (droped splitting url & token that wasn't needed)
532

6-
#2.3.0
33+
# 2.3.0
734

835
* skipped - internal / test / scrapped version, not needed
936

10-
11-
#2.2.0
37+
# 2.2.0
1238

1339
* added support for notifying build start and failute. disabled by default can be enabled in xml settings - see README
14-
15-

README.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Gradle is used to build. Wrapper is included in the project so you dont need to
1010

1111
./gradlew buildZip
1212

13-
this will generate a zip file with the right meta data in the right folder structure at : `build/distributions/TCSlackNotifierPlugin-<version>.zip` you can also download a build from GitHubs versions section.
13+
this will generate a zip file with the right meta data in the right folder structure at : `build/distributions/TCSlackNotifierPlugin-<version>.zip` you can also download a build from GitHubs versions section. Make sure you download the binary zip and not the source.
1414

1515
# Install Plugin
1616

17-
Copy the zip file into TeamCity plugin directory inside the data directory, usually `.BuildServer`
17+
In the latest version of teamcity, the plugin zip can be uploaded via the admin page. In older versions, deploy manually by copying the zip file into TeamCity plugin directory inside the data directory, usually `.BuildServer`
1818

1919
```
2020
scp build/distributions/TCSlackNotifierPlugin-<version>.zip buildserver:.BuildServer/plugins/
@@ -66,7 +66,9 @@ Edit the plugin specific xml config, `plugin-settings.xml` probably somewhere in
6666

6767
# Note on TeamCity version support
6868

69-
I'm still using **TeamCity 7.1** , but a few tests on the free version of TeamCity 8 went fine, and it seems to work there also. Users have reported it working on version 9 also.
69+
Version 3 was updated for TeamCity 2017.2 support. It was just a settings update and recompile - so any issues from previous versions remain.
70+
71+
Previous versions where built for TeamCity 7.1, but a few tests on the free version of TeamCity 8 went fine, and it seems to work there also. Users have reported it working on version 9 also.
7072

7173
### Issues
7274

build.gradle

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11

22
repositories {
33
mavenCentral()
4+
5+
maven {
6+
url "https://download.jetbrains.com/teamcity-repository/"
7+
}
48
}
59

610
apply plugin: 'java'
711

812

9-
sourceCompatibility = 1.6
10-
version = '2.4.0'
13+
sourceCompatibility = 1.8
14+
version = '4.4.1'
15+
println("##teamcity[buildNumber '$version']")
1116

1217
configurations {
1318
deploy
1419
}
1520

1621
dependencies {
17-
compile files('libs/openapi.jar', 'libs/server-api.jar' , 'libs/common-api.jar' , 'libs/servlet-api.jar')
22+
compile 'org.jetbrains.teamcity:server-api:2018.2+'
23+
compile 'org.jetbrains.teamcity:common-api:2018.2+'
1824
compile 'com.google.code.gson:gson:2.+'
1925
compile 'org.jdom:jdom:1+'
2026
compile 'joda-time:joda-time:2.3'
2127
deploy 'com.google.code.gson:gson:2.+'
2228
deploy 'joda-time:joda-time:2.3'
23-
2429
}
2530

2631

@@ -42,4 +47,4 @@ task buildZip(dependsOn:'jar' , type: Zip) {
4247
from configurations.deploy
4348
include('*.jar')
4449
}
45-
}
50+
}

gradle/wrapper/gradle-wrapper.jar

3.15 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Mar 02 19:47:39 GMT 2014
1+
#Sat Feb 24 18:44:46 GMT 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-all.zip

gradlew

Lines changed: 43 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 4 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/common-api.jar

-732 KB
Binary file not shown.

libs/openapi.jar

-12.6 MB
Binary file not shown.

libs/server-api.jar

-983 KB
Binary file not shown.

0 commit comments

Comments
 (0)