Skip to content

Commit 86932ff

Browse files
committed
Ensure bintray upload happens before repository is no clean.
Better would be to avoid putting any non-ignored generated output in the repository, but this is a short term fix.
1 parent 7dada57 commit 86932ff

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ jobs:
456456
key: v1-maven-dependency-cache-versioned-{{ checksum "pom.xml" }}
457457
- *restore-build-binaries-cache
458458

459+
- run: ./gradlew --info bintrayUpload | tee -a "/tmp/publish_docker_image_generator_plugin.log"
459460
- run: echo "user=$BINTRAY_USERNAME" > .credentials
460461
- run: echo "password=$BINTRAY_PASSWORD" >> .credentials
461462
- run: echo "realm=Bintray API Realm" >> .credentials
@@ -468,6 +469,9 @@ jobs:
468469
- store_artifacts:
469470
path: /tmp/publish_artifacts.log
470471
destination: publish_artifacts.log
472+
- store_artifacts:
473+
path: /tmp/publish_docker_image_generator_plugin.log
474+
destination: publish_docker_image_generator_plugin.log
471475

472476
workflows:
473477
version: 2

dev/publish_functions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ publish_artifacts() {
2121
echo "<password>$BINTRAY_PASSWORD</password>" >> $tmp_settings
2222
echo "</server></servers></settings>" >> $tmp_settings
2323

24-
./gradlew --info bintrayUpload
2524
./build/mvn -T 1C --settings $tmp_settings -DskipTests "${PALANTIR_FLAGS[@]}" deploy
2625
}
2726

0 commit comments

Comments
 (0)