Skip to content

Commit a50b0d9

Browse files
committed
Make a couple build fixes
1 parent 52deb21 commit a50b0d9

3 files changed

Lines changed: 20 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33

44
pipeline {
55
agent {
6-
dockerfile true
6+
dockerfile {
7+
dir 'repo/sdk-image'
8+
}
79
}
810

911
environment {
10-
ATLAS_OPTS = "-Dmaven.repo.local='$WORKSPACE/maven-cache' ${env.ATLAS_OPTS}"
12+
ATLAS_OPTS = "-Dmaven.repo.local='$WORKSPACE/maven-cache'"
1113
}
1214

1315
stages {
@@ -26,7 +28,7 @@ pipeline {
2628

2729
post {
2830
always {
29-
cleanWs deleteDirs: true, patterns: [[pattern: 'maven-cache/', type: 'EXCLUDE']]
31+
cleanWs deleteDirs: true, patterns: [[pattern: 'repo/target/', type: 'INCLUDE']]
3032
}
3133
failure {
3234
slackSend botUser: true, channel: '#devchat', color: 'danger', message: "Bamboo Plugin build FAILED (<${env.BUILD_URL}|Open>)"

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,19 @@
138138
</plugins>
139139
</build>
140140

141+
<pluginRepositories>
142+
<pluginRepository>
143+
<releases>
144+
<enabled>true</enabled>
145+
<checksumPolicy>warn</checksumPolicy>
146+
</releases>
147+
<snapshots>
148+
<updatePolicy>never</updatePolicy>
149+
<checksumPolicy>warn</checksumPolicy>
150+
</snapshots>
151+
<id>atlassian-public</id>
152+
<url>https://maven.atlassian.com/repository/public</url>
153+
</pluginRepository>
154+
</pluginRepositories>
155+
141156
</project>
File renamed without changes.

0 commit comments

Comments
 (0)