From 11d67818fc2cb54a6eba14ae592e2bdfdeaa604b Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 4 Oct 2020 22:08:39 +0200 Subject: [PATCH] Update Jenkinsfile and compile.sh --- Jenkinsfile | 4 ++-- jenkins/scripts/compile.sh | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 19b0286..d14c591 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,8 @@ pipeline { sh "chown 1000:1000 -R \"/var/jenkins_cache/.m2\"" sh "mkdir -p \"/var/jenkins_cache/.ccache\"" sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache\"" - sh "chown 1000:1000 -R \"${workspace}/tdlight-java\"" - sh "chmod 771 -R \"${workspace}/tdlight-java\"" + sh "chown 1000:1000 -R \"${workspace}\"" + sh "chmod 771 -R \"${workspace}\"" } } diff --git a/jenkins/scripts/compile.sh b/jenkins/scripts/compile.sh index 1c55a19..090463c 100755 --- a/jenkins/scripts/compile.sh +++ b/jenkins/scripts/compile.sh @@ -68,6 +68,11 @@ ccache -s # ====== Copy output cd $TDNATIVES_CPP_BUILD_DIR 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 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