如何在单个项目中为多个组装作业编写Shell命令并为单个作业设置触发器?

时间:2019-05-14 15:07:41

标签: jenkins

我想根据条件设置一个触发器以运行任何assemble命令,并且只能运行用于生成apk的相对shell命令。

chmod +x gradlew
./gradlew clean
./gradlew assemblePlayStoreQa
./gradlew assemblePlayStoreProduction

两个assemble命令的相对代码都在单独的Execute shell选项中编写。

0 个答案:

没有答案
相关问题