The normal build process is omitted. A better way is to run the war package directly or use docker directly. Mainly record the pit I encountered:
- Email server qq, the result of sending apK mail to Google directly rejected, sent to QQ mailbox more than 3 times a day will be judged as spam by the system.
- When working with a remote GitLab server, the best way to do this is to configure local Git permissions and add SSH certificates.
- The email address of the administrator must be the same as that of the configured mail server.
- Many of the extensions are plugins, such as Build with Parameters for choosing to Build branches
- The following script is used to configure the message content and format the message, which is a newline, %a is to output the user name, %m is to output the commit content, and the total content is to output all commit information since the last compile success
$DEFAULT_CONTENT
<br/>
${CHANGES_SINCE_LAST_SUCCESS, changesFormat="
[%a] : %m"}<br/> Installation package is attached, please check! <br /> <br /> <br /> <br /> Loopchat-Android TeamCopy the code
- Outputs app/build/ apK /**/debug/* APK, of course clean every time
- The compiled command is gradle Clean assembleDevDebug
After this episode.