Skip to content

Update sbt, scripted-plugin to 1.12.6 - #7567

Open
orbeon wants to merge 1 commit into
masterfrom
update/sbt-1.12.6
Open

Update sbt, scripted-plugin to 1.12.6#7567
orbeon wants to merge 1 commit into
masterfrom
update/sbt-1.12.6

Update sbt, scripted-plugin to 1.12.6

e76e777
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch failed Mar 22, 2026 in 31m 59s

Build Failed

The build failed.

Details

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

Jobs and Stages

This build has five jobs, running in parallel.

Job JDK ENV OS State
9949.1 openjdk11 RDS_PASSWORD=[secure] Linux passed
9949.2 openjdk11 RDS_PASSWORD=[secure] Linux failed
9949.3 openjdk11 RDS_PASSWORD=[secure] Linux passed
9949.4 openjdk11 RDS_PASSWORD=[secure] Linux passed
9949.5 openjdk11 RDS_PASSWORD=[secure] Linux passed

Build Configuration

Build Option Setting
Language Java
Operating System Linux (Focal)
JDK Version openjdk11
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "sudo": true,
  "jdk": [
    "openjdk11"
  ],
  "env": [
    "global=RDS_PASSWORD=[secure]=ARTIFACTS_KEY=[secure]=ARTIFACTS_SECRET=[secure]=ARTIFACTS_BUCKET=[secure]=GITHUB_TOKEN=[secure]=S3_TEST_REGION=[secure]=S3_TEST_ACCESSKEY=[secure]=S3_TEST_SECRETACCESSKEY=[secure] jobs={:TARGET=>\"orbeon-dist\"}={:TARGET=>\"test-unit\"}={:TARGET=>\"test-db\", :DB=>\"mysql\"}={:TARGET=>\"test-db\", :DB=>\"postgresql\"}={:TARGET=>\"test-db\", :DB=>\"sqlite\"}"
  ],
  "addons": {
    "artifacts": {
      "paths": [
        "$(ls build/distrib/* | egrep -v '(embedding|proxy-portlet|xforms-filter|orbeon-auth)' | egrep -v '\\-[CP]E\\.(tgz|war)' | tr \"\\n\" \":\")"
      ]
    }
  },
  "cache": {
    "directories": [
      "$HOME/.ivy2/cache",
      "$HOME/.m2/repository",
      "$HOME/.sbt/boot",
      "$HOME/.sbt/launchers",
      "$HOME/node_modules"
    ]
  },
  "before_cache": [
    "find $HOME/.ivy2 -name \"ivydata-*.properties\" -delete",
    "find $HOME/.sbt -name \"*.lock\" -delete"
  ],
  "before_install": [
    "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -",
    "sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"",
    "sudo apt-get -y install docker-ce",
    "sudo apt-get -y install ant",
    "sudo sh -c '(echo \"#!/usr/bin/env sh\" && curl -L https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M0/2.13-3.0.0-M0) > /usr/local/bin/amm && chmod +x /usr/local/bin/amm'",
    "echo \"deb https://repo.scala-sbt.org/scalasbt/debian all main\" | sudo tee /etc/apt/sources.list.d/sbt.list",
    "echo \"deb https://repo.scala-sbt.org/scalasbt/debian /\" | sudo tee /etc/apt/sources.list.d/sbt_old.list",
    "curl -sL \"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823\" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import",
    "sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg",
    "sudo apt-get update",
    "sudo apt-get install sbt",
    "SBT_VERSION=$(grep '^sbt\\.version=' project/build.properties | cut -d'=' -f2)",
    "mkdir -p $HOME/.sbt/launchers/$SBT_VERSION",
    "curl -L -o $HOME/.sbt/launchers/$SBT_VERSION/sbt-launch.jar https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/$SBT_VERSION/sbt-launch-$SBT_VERSION.jar"
  ],
  "install": [
    "npm install",
    "nvm install 24",
    "nvm use 24",
    "export SBT_OPTS=\"-Dfile.encoding=UTF-8\"\n"
  ],
  "before_script": [
    "sudo /etc/init.d/mysql stop",
    "if [ \"$TARGET\" == \"test-unit\"                              ]; then docker pull tomcat:9.0.109-jdk11-temurin-noble; fi",
    "if [ \"$TARGET\" == \"test-unit\"                              ]; then docker pull kennethreitz/httpbin; fi",
    "if [ \"$TARGET\" == \"test-unit\"                              ]; then docker run -d --name httpbin -p 8084:80 kennethreitz/httpbin; fi",
    "if [ \"$TARGET\" == \"test-db\"                                ]; then echo $DOCKER_PASSWORD | docker login -u orbeon --password-stdin; fi",
    "if [ \"$TARGET\" == \"test-db\"   ] && [ \"$DB\" == \"mysql\"      ]; then docker run -d --name mysql -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mysql:5.7 --sql-mode=ALLOW_INVALID_DATES --character-set-server=utf8mb4 --collation-server=utf8mb4_bin; fi",
    "if [ \"$TARGET\" == \"test-db\"   ] && [ \"$DB\" == \"postgresql\" ]; then ./tools/postgresql-prepare.sh; fi"
  ],
  "script": [
    "if [ \"$TARGET\" == \"orbeon-dist\"                            ]; then ant orbeon-dist ; fi",
    "if [ \"$TARGET\" == \"test-unit\"                              ]; then sbt Test/compile ; sbt Test/test ; fi",
    "if [ \"$TARGET\" == \"test-db\"                                ]; then sbt Test/compile ; sbt dbToS3AttachmentMigration/proguard ; sbt Db/test ; fi"
  ]
}