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

add new composite layout sample file #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

updare readme

3610a9b
Select commit
Loading
Failed to load commit list.
Open

add new composite layout sample file #110

updare readme
3610a9b
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch failed Sep 2, 2024 in 11m 49s

Build Failed

The build failed, just like the previous build.

Details

This is a normal build for the newCompositeLayoutSampleFile 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 (Jammy)
JDK Version openjdk17
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "jdk": [
    "openjdk17"
  ],
  "git": {
    "depth": false
  },
  "addons": {
    "sonarcloud": {
      "organization": "ant-media-plugins",
      "token": "$SONAR_TOKEN"
    }
  },
  "before_install": [
    "openssl aes-256-cbc -K $encrypted_171b1c559d7b_key -iv $encrypted_171b1c559d7b_iv -in signingkey.asc.enc -out signingkey.asc -d",
    "export GPG_TTY=$(tty)",
    "gpg --batch --fast-import signingkey.asc",
    "sudo apt-get update -qq",
    "sudo apt-get install ffmpeg -qq -y",
    "(if [ $(git ls-remote https://github.com/ant-media/ant-media-server-parent.git $TRAVIS_BRANCH  | wc -l) == \"1\" ]; then echo \" $TRAVIS_BRANCH branch found\"; git clone --depth=1 -b $TRAVIS_BRANCH https://github.com/ant-media/ant-media-server-parent.git; else echo \"$TRAVIS_BRANCH branch not found. Checking out master\"; git clone --depth=1 https://github.com/ant-media/ant-media-server-parent.git; fi)",
    "cd ant-media-server-parent",
    "mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Dgpg.skip=true --quiet",
    "cd ..",
    "(if [ $(git ls-remote https://github.com/ant-media/Ant-Media-Server.git $TRAVIS_BRANCH  | wc -l) == \"1\" ]; then echo \"$TRAVIS_BRANCH branch found in Ant-Media-Server\"; git clone --depth=1 -b $TRAVIS_BRANCH https://github.com/ant-media/Ant-Media-Server.git; else echo \"$TRAVIS_BRANCH branch not found. Checking out master\"; git clone --depth=1 https://github.com/ant-media/Ant-Media-Server.git; fi)",
    "cd Ant-Media-Server",
    "mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Dgpg.skip=true --quiet",
    "cd .."
  ],
  "script": [
    "wget -O maven-metadata.xml https://oss.sonatype.org/service/local/repositories/snapshots/content/io/antmedia/ant-media-server/maven-metadata.xml",
    "export LATEST_SNAPSHOT=$(cat maven-metadata.xml | grep \"<version>\" | tail -n 1 |  xargs | cut -c 10-23)",
    "wget -O ant-media-server-community.zip \"https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=io.antmedia&a=ant-media-server&v=${LATEST_SNAPSHOT}&c=community&e=zip\";",
    "wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh -O install_ant-media-server.sh  && chmod 755 install_ant-media-server.sh",
    "sudo ./install_ant-media-server.sh -i ant-media-server-community.zip",
    "sudo sed -i \"/server.cpu_limit=/c\\server.cpu_limit=100\" /usr/local/antmedia/conf/red5.properties",
    "sudo sed -i \"/server.memory_limit_percentage=/c\\server.memory_limit_percentage=100\" /usr/local/antmedia/conf/red5.properties",
    "cd SamplePlugin",
    "mvn clean install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dgpg.skip=true",
    "sudo cp target/PluginApp.jar /usr/local/antmedia/plugins",
    "ls /usr/local/antmedia/plugins",
    "sudo service antmedia restart",
    "sleep 20",
    "cd ../MediaPushPlugin",
    "rm  src/main/resources/*.js",
    "cd src/main/js",
    "npm install",
    "npm run build",
    "cd ../../..",
    "mvn clean install -DskipTests -Dgpg.skip=true --quiet",
    "sudo cp target/media-push-plugin.jar /usr/local/antmedia/plugins/",
    "ls /usr/local/antmedia/plugins/",
    "sudo service antmedia restart",
    "sleep 20",
    "mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent deploy org.jacoco:jacoco-maven-plugin:report sonar:sonar -DskipTests=false --settings ../mvn-settings.xml --quiet",
    "sudo rm /usr/local/antmedia/plugins/media-push-plugin.jar",
    "wget -O install_media-push-plugin.sh https://raw.githubusercontent.com/ant-media/Plugins/master/MediaPushPlugin/src/main/script/install_media-push-plugin.sh && chmod 755 install_media-push-plugin.sh",
    "sudo ./install_media-push-plugin.sh",
    "cd ../FilterPlugin",
    "mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent deploy org.jacoco:jacoco-maven-plugin:report sonar:sonar -Dsonar.projectKey=ant-media_plugins --settings ../mvn-settings.xml --quiet",
    "cd ../TensorflowPlugin",
    "mvn clean install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dgpg.skip=true",
    "cd ../ID3Converter",
    "mvn clean install -Dgpg.skip=true"
  ],
  "after_script": [
    "ls",
    "export FILE=hs_err_pid*.log",
    "(if  test -f $FILE ; then echo \"$FILE exists.\"; cat $FILE; else echo \"$FILE not exists.\"; fi)"
  ],
  "after_failure": [
    "sudo cat /usr/local/antmedia/log/ant-media-server.log",
    "echo \"----------------------------------------------\"",
    "sudo cat /usr/local/antmedia/log/antmedia-error.log",
    "sudo cat /usr/local/antmedia/hs_err_pid*.log",
    "sudo cat hs_err_pid*.log"
  ]
}