Skip to content

Commit efbb2ff

Browse files
authored
Merge pull request apache-spark-on-k8s#424 from palantir/clean-before-bintray-upload
Clean before bintray upload.
2 parents 141b82e + 2d7841f commit efbb2ff

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ 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"
460459
- run: echo "user=$BINTRAY_USERNAME" > .credentials
461460
- run: echo "password=$BINTRAY_PASSWORD" >> .credentials
462461
- run: echo "realm=Bintray API Realm" >> .credentials
@@ -469,9 +468,6 @@ jobs:
469468
- store_artifacts:
470469
path: /tmp/publish_artifacts.log
471470
destination: publish_artifacts.log
472-
- store_artifacts:
473-
path: /tmp/publish_docker_image_generator_plugin.log
474-
destination: publish_docker_image_generator_plugin.log
475471

476472
workflows:
477473
version: 2

dev/publish_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ publish_artifacts() {
2222
echo "</server></servers></settings>" >> $tmp_settings
2323

2424
./build/mvn -T 1C --settings $tmp_settings -DskipTests "${PALANTIR_FLAGS[@]}" deploy
25+
git clean -dfx
26+
./gradlew --info bintrayUpload
2527
}
2628

2729
make_dist() {

0 commit comments

Comments
 (0)