diff --git a/.github/workflows/spring-artifactory-maven-release-staging.yml b/.github/workflows/spring-artifactory-maven-release-staging.yml index 3822c84..0a050ec 100644 --- a/.github/workflows/spring-artifactory-maven-release-staging.yml +++ b/.github/workflows/spring-artifactory-maven-release-staging.yml @@ -58,6 +58,14 @@ jobs: jf mvn install ${{ inputs.mavenArgs }} jf rt build-publish + - name: Capture Test Results + if: failure() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: '*/target/surefire-reports/*.*' + retention-days: 3 + - name: Tag Release and Next Development Version run: | git config --global user.name 'Spring Builds' diff --git a/.github/workflows/spring-artifactory-maven-snapshot.yml b/.github/workflows/spring-artifactory-maven-snapshot.yml index 000ec54..9c9f712 100644 --- a/.github/workflows/spring-artifactory-maven-snapshot.yml +++ b/.github/workflows/spring-artifactory-maven-snapshot.yml @@ -45,3 +45,11 @@ jobs: jf mvn install ${{ inputs.mavenArgs }} jf rt build-publish + - name: Capture Test Results + if: failure() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: '*/target/surefire-reports/*.*' + retention-days: 3 + diff --git a/.settings.xml b/.settings.xml deleted file mode 100644 index da6951a..0000000 --- a/.settings.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - repo.spring.io - ${env.CI_DEPLOY_USERNAME} - ${env.CI_DEPLOY_PASSWORD} - - - - - - spring - true - - - spring-snapshots - Spring Snapshots - https://repo.spring.io/snapshot - - true - - - - spring-milestones - Spring Milestones - https://repo.spring.io/milestone - - false - - - - - - spring-snapshots - Spring Snapshots - https://repo.spring.io/snapshot - - true - - - - spring-milestones - Spring Milestones - https://repo.spring.io/milestone - - false - - - - - - diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 35fd4ee..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -dist: trusty -sudo: required -cache: - directories: - - $HOME/.m2 -language: java -jdk: - - oraclejdk8 -script: - - './mvnw package -Pspring,full -s .settings.xml -U -Dmaven.test.redirectTestOutputToFile=true' - -after_success: - - bash <(curl -s https://codecov.io/bash) diff --git a/update-version.sh b/update-version.sh deleted file mode 100755 index bc0672b..0000000 --- a/update-version.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -#Execute this script from local checkout of spring cloud stream - -./mvnw versions:update-parent -DparentVersion=[0.0.1,$2] -Pspring -DgenerateBackupPoms=false -DallowSnapshots=true -./mvnw versions:set -DnewVersion=$1 -DgenerateBackupPoms=false - - - -lines=$(find . -name 'pom.xml' | xargs egrep "SNAPSHOT|M[0-9]|RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No snapshots found" -else - echo "Snapshots found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "M[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No milestones found" -else - echo "Milestones found." -fi - -lines=$(find . -name 'pom.xml' | xargs egrep "RC[0-9]" | grep -v regex | wc -l) -if [ $lines -eq 0 ]; then - echo "No release candidates found" -else - echo "Release candidates found." -fi