瑞芯微 AOSP 編譯
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
chmod +x repo
./repo init -u ssh://[email protected]:222/RongPing/manifest.git -b develop --platform=auto --depth=1 --no-repo-verify
./repo sync -c --force-sync
#./repo forall -c "git clean -fdx; git reset --hard"
cd RongPing/RockChip-AOSP && bash build.sh init && bash build.sh
mkdir -p /opt/data/images/${JOB_NAME}/$BUILD_TIMESTAMP/${BUILD_NUMBER}/
cp rockdev/Image-rk3568_r/update.img /opt/data/images/${JOB_NAME}/$BUILD_TIMESTAMP/${BUILD_NUMBER}/
瑞芯微 DingTalk 插件
- 版本號: <font color=#0076F6>${BUILD_NUMBER}</font>
- 主機地址: <font color=#0076F6>sftp://192.168.60.252</font>
- 鏡像路徑: <font color=#0076F6>/opt/data/images/${JOB_NAME}/$BUILD_TIMESTAMP/${BUILD_NUMBER}/update.img</font>
APP 編譯
git clean -fdx
git reset --hard
export ANDROID_HOME=/usr/local/android-sdk
chmod +x ./gradlew
./gradlew clean
./gradlew assembleDebug
APP DingTalk 插件
- 倉庫地址: <font color=#0076F6>${GIT_URL}</font>
- 倉庫分支: <font color=#0076F6>${GIT_BRANCH}</font>