Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Commit a94e4e4

Browse files
committed
Build with 4.4.0 #103
1 parent 620b928 commit a94e4e4

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ before_install:
1212
- export PATH=opt/atlassian-plugin-sdk/bin:opt/atlassian-plugin-sdk/apache-maven-*/bin:$PATH
1313
- atlas-version
1414
install:
15+
#Install Atlassian libs in local Maven repo
16+
- atlas-mvn -q install -Dstash.version=4.0.0
1517
- atlas-mvn -q install
1618
script:
19+
- atlas-package -q -Dstash.version=4.0.0
1720
- atlas-package -q
1821
notifications:
1922
email: false

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
</resources>
171171
</build>
172172
<properties>
173-
<bitbucket.version>4.0.1</bitbucket.version>
173+
<bitbucket.version>4.4.0</bitbucket.version>
174174
<bitbucket.data.version>${bitbucket.version}</bitbucket.data.version>
175175
<amps.version>6.1.0</amps.version>
176176
</properties>

src/test/java/se/bjurr/prnb/admin/utils/PrnfbParticipantBuilder.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import com.atlassian.bitbucket.pull.PullRequest;
77
import com.atlassian.bitbucket.pull.PullRequestParticipant;
8+
import com.atlassian.bitbucket.pull.PullRequestParticipantStatus;
89
import com.atlassian.bitbucket.pull.PullRequestRole;
910
import com.atlassian.bitbucket.user.ApplicationUser;
1011

@@ -76,6 +77,16 @@ public PullRequestRole getRole() {
7677
public PullRequest getPullRequest() {
7778
return null;
7879
}
80+
81+
// Needed for 4.4.0, dont use @Override
82+
public int compareTo(PullRequestParticipant arg0) {
83+
return 0;
84+
}
85+
86+
// Needed for 4.4.0, dont use @Override
87+
public PullRequestParticipantStatus getStatus() {
88+
return null;
89+
}
7990
};
8091
}
8192
}

src/test/java/se/bjurr/prnb/admin/utils/PullRequestRefBuilder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ public ProjectType getType() {
128128
public boolean isPublic() {
129129
return false;
130130
}
131+
132+
// Needed for 4.4.0, dont use @Override
133+
public String getNamespace() {
134+
return null;
135+
}
131136
};
132137
}
133138

0 commit comments

Comments
 (0)