Update Jenkinsfile and compile.sh
This commit is contained in:
parent
5edda5cbaa
commit
11d67818fc
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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}\""
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user