Jenkins 編譯

瑞芯微 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>

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章