Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github string in build maven packages #40

Merged
merged 1 commit into from
Oct 14, 2024

Update github string in build maven packages

9c1913e
Select commit
Loading
Failed to load commit list.
Merged

Update github string in build maven packages #40

Update github string in build maven packages
9c1913e
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch failed Oct 14, 2024 in 4m 2s

Build Failed

The build failed.

Details

This is a normal build for the github-build branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Java
Operating System Linux (Trusty)
JDK Version openjdk17
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "jdk": [
    "openjdk17"
  ],
  "cache": {
    "directories": [
      "$HOME/.m2"
    ]
  },
  "stages": [
    {
      "name": "test"
    },
    {
      "name": "deploy-snapshots",
      "if": "branch = master AND type = push"
    },
    {
      "name": "release-check",
      "if": "(branch =~ /^release.*/)"
    },
    {
      "name": "release",
      "if": "(branch =~ /^release.*/)"
    }
  ],
  "before_install": [
    "cp ./travis/maven-settings.xml $HOME/.m2/settings.xml",
    "sed -i \"s/-SNAPSHOT/-build-$TRAVIS_BUILD_NUMBER/\" pom.xml",
    "sed -i \"s/-SNAPSHOT/-build-$TRAVIS_BUILD_NUMBER/\" vertx-parent-files/pom.xml"
  ],
  "jobs": {
    "include": [
      {
        "stage": "test",
        "install": [
          "true"
        ],
        "script": [
          "echo \"test\"",
          "mvn -Dmaven.wagon.http.retryHandler.count=3 -e test",
          "mvn --batch-mode install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheck1",
          "mvn --batch-mode install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheck2",
          "mvn -Dmaven.wagon.http.retryHandler.count=3 -e verify"
        ],
        "after_failure": [
          "echo \"\\n=== SUREFIRE REPORTS ===\\n\"",
          "for F in target/surefire-reports/*.txt; do echo $F; cat $F; echo; done"
        ]
      },
      {
        "stage": "deploy-snapshots",
        "script": [
          "echo \"deploy-snapshots\"",
          "mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode -e -DskipTests=true deploy"
        ]
      },
      {
        "stage": "release-check",
        "script": [
          "echo \"release-check\"",
          "mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode release:prepare -DskipTests -Darguments=-DskipTests -DdryRun=true"
        ]
      },
      {
        "stage": "release",
        "script": [
          "echo \"release\"",
          "echo \"Fixing git setup for $TRAVIS_BRANCH in preparation for release\"",
          "git checkout ${TRAVIS_BRANCH}",
          "git branch -u origin/${TRAVIS_BRANCH}",
          "git config branch.${TRAVIS_BRANCH}.remote origin",
          "git config branch.${TRAVIS_BRANCH}.merge refs/heads/${TRAVIS_BRANCH}",
          "openssl aes-256-cbc -K $encrypted_4d75e2900770_key -iv $encrypted_4d75e2900770_iv -in travis/codesigning.asc.enc -out travis/codesigning.asc -d",
          "gpg --fast-import travis/codesigning.asc",
          "mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode release:prepare -DskipTests -Darguments=-DskipTests -DtagNameFormat=\"v@{project.version}\" -DscmCommentPrefix=\"[maven-release-plugin][skip travis]\"",
          "mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode release:perform -DskipTests -Darguments=-DskipTests"
        ]
      }
    ]
  }
}