Skip to content

Commit 180cbde

Browse files
committed
Update for API changes in GitBucket 4.30.0
1 parent 3993067 commit 180cbde

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ language: scala
33
jdk:
44
- oraclejdk8
55
script:
6+
- git clone https://github.com/gitbucket/gitbucket.git
7+
- cd gitbucket
8+
- sbt publishLocal
9+
- cd ../
610
- sbt test
711
before_script:
8-
- sudo /etc/init.d/mysql stop
9-
- sudo /etc/init.d/postgresql stop
10-
- sudo chmod +x /usr/local/bin/sbt
12+
- sudo /etc/init.d/mysql stop
13+
- sudo /etc/init.d/postgresql stop
14+
- sudo chmod +x /usr/local/bin/sbt

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ In addition, this plug-in is made to just experiment continuous integration on G
5656

5757
Plugin version | GitBucket version
5858
:--------------|:--------------------
59+
1.7.x | 4.30.x -
5960
1.6.x - | 4.24.0 -
6061
1.5.x - | 4.23.1 -
6162
1.4.x - | 4.23.0

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name := "gitbucket-ci-plugin"
22
organization := "io.github.gitbucket"
3-
version := "1.6.4"
4-
scalaVersion := "2.12.6"
5-
gitbucketVersion := "4.25.0"
3+
version := "1.7.0"
4+
scalaVersion := "2.12.7"
5+
gitbucketVersion := "4.30.0-SNAPSHOT"
66
libraryDependencies ++= Seq(
77
"org.fusesource.jansi" % "jansi" % "1.16",
88
"org.scalatest" %% "scalatest" % "3.0.5" % "test",

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version = 1.1.6
1+
sbt.version = 1.2.6

src/main/scala/io/github/gitbucket/ci/hook/CIPullRequestHook.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import profile.api._
1515

1616
class CIPullRequestHook extends PullRequestHook
1717
with PullRequestService with IssuesService with CommitsService with AccountService
18+
with WebHookPullRequestService with WebHookPullRequestReviewCommentService with ActivityService
1819
with RepositoryService with LabelsService with PrioritiesService with MilestonesService with CIService {
1920

2021
override def created(issue: Issue, repository: RepositoryInfo)(implicit session: Session, context: Context): Unit = {

0 commit comments

Comments
 (0)