1.安裝jenkins plugin
https://plugins.jenkins.io/parameterized-scheduler/#documentation
目前分類:jenkins (20)
- Jul 14 Tue 2020 16:36
daily build 和 判斷daily build
- May 04 Mon 2020 12:14
jenkins git create tag trigger
- Apr 27 Mon 2020 16:05
解決jenkins build error 卻顯示success
- Apr 16 Thu 2020 16:37
移動所有的apk.aar到特定資料夾
mkdir -p /var/www/html/${JOB_BASE_NAME}/${BUILD_NUMBER}
find . -name "*.apk" -exec mv {} /var/www/html/${JOB_BASE_NAME}/${BUILD_NUMBER} \;
- Apr 15 Wed 2020 16:31
jenkins 將GIT_COMMIT取前八位
- Apr 15 Wed 2020 16:29
jenkins 自定義全域變數
需要安裝Environment Injector plugin
- Apr 15 Wed 2020 10:20
jenkins specific tag build
- Apr 08 Wed 2020 11:14
jenkins build失敗.成功執行不同步驟
jenkins project內的 Post-build Action 使用 Flexible publish
- Apr 06 Mon 2020 17:36
jenkins archive file to ftp
1.在build server上建立ftp server
- Apr 01 Wed 2020 11:05
取得jenkins Console Output
${BUILD_URL}/consoleText
- Mar 31 Tue 2020 14:55
jenkins link chat bot
- Mar 25 Wed 2020 17:00
jenkins jacoco report
1.install plugin:
Jenkins -> Manager Jenkins -> Manager Plugins -> JaCoCo plugin -> Download now and install after restart
- Mar 25 Wed 2020 15:03
jenkins Junit test result report
1.install plugin:
Jenkins -> Manager Jenkins -> Manager Plugins -> JUnit Plugin -> Download now and install after restart
- Mar 23 Mon 2020 17:07
jenkins jdk setting
設定Jenkins全域變數
jenkins -> Manager Jenkins -> Global Tool Configuration -> JDK installations -> add JDK
- Mar 23 Mon 2020 15:46
jenkins 指定 node 運行
jenkins project -> Configure -> General -> Restrict where this project can be run -> Label Expression 輸入 node Label
- Mar 23 Mon 2020 15:33
jenkins new Windows node
1.設定TCP port for JNLP agents為"Random "
Manage Jenkins -> Configure Global Security -> Agents -> TCP port for JNLP agents 選擇 "Random "
- Mar 23 Mon 2020 14:39
jenkins freestyle project git clone project
jenkins project -> Source Code Management-> Git ->
- Mar 23 Mon 2020 12:14
jenkins gradle settings
1.install plugin:
Jenkins -> Manager Jenkins -> Manager Plugins -> Gradle plugin -> Download now and install after restart
- Mar 23 Mon 2020 11:46
jenkins freestyle build完取得apk檔案
進入專案->configure->Post-build Actions ->(下拉bar選擇)Archive the artifacts->**/*.apk,**/*.aar
- Mar 17 Tue 2020 17:13
jenkins 連結 gitlab
1.進入jenkins project configure
2.Build Triggers選項中複製 webhook URL + Generate Secret token(藏在Advanced)