1
0

Update Jenkinsfile and compile.sh

This commit is contained in:
Andrea Cavalli 2020-10-04 22:08:39 +02:00
parent 5edda5cbaa
commit 11d67818fc
2 changed files with 7 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -27,8 +27,8 @@ pipeline {
sh "chown 1000:1000 -R \"/var/jenkins_cache/.m2\"" sh "chown 1000:1000 -R \"/var/jenkins_cache/.m2\""
sh "mkdir -p \"/var/jenkins_cache/.ccache\"" sh "mkdir -p \"/var/jenkins_cache/.ccache\""
sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache\"" sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache\""
sh "chown 1000:1000 -R \"${workspace}/tdlight-java\"" sh "chown 1000:1000 -R \"${workspace}\""
sh "chmod 771 -R \"${workspace}/tdlight-java\"" sh "chmod 771 -R \"${workspace}\""
} }
} }

View File

@ -68,6 +68,11 @@ ccache -s
# ====== Copy output # ====== Copy output
cd $TDNATIVES_CPP_BUILD_DIR cd $TDNATIVES_CPP_BUILD_DIR
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
ls -alch $TDLIB_RESOURCES_OUTPUT_DIR
ls -alch $TDLIB_RESOURCES_OUTPUT_DIR/resources
users
groups
whoami
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD/$DEST_TDJNI_LIBNAME mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD/$DEST_TDJNI_LIBNAME
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then