Advanced Projects
Below are the more advanced configurations for UBuild Project.
GitHub
UBuild can Fetch & Clone from Git, to achieve this follow the steps below:
- Within the Project configuration file, update the following:
- ProjectFolder: This is your Git repository's URL. (ie: the URL you would usually clone from)
- GitUser: This is the user you would like to authenticate as.
- GitToken: This is your legacy Git token that will be used during authentication.
- GitBranch: This should be the branch you wish to use.
- If all these details are correct UBuild can now clone the specified repository to the "/Git/" folder once you queue a build, after it has cloned, by default, it will now fetch before building to ensure the repository is up to date.
UBuild has support for email notifications of build success & failure. If the build was successful and you have selected to compress the build, it will even have that compressed build as an attachment.
In its most basic form, this will allow you to receive remote notification of complete builds, but if expanded upon, allows you the option of further automation after the build process has been completed such as Jenkins jobs, forwarding to QA teams, triggering Power Automate scripts etc.
To set up email notifications, please follow the steps below:
- Within the Project configuration file, update the following:
- SMTPServer: This is your SMTP email server address (usually something like "mail.mydomain.com")
- SMTPPort: This is the port at which your SMTP server is listening. (usually 587)
- EmailUser: This is the email address to login with.
- EmailPassword: This is the password associated with your EmailUser.
- EmailTo: This is the address to send emails to. (ensure your provider's security policy doesn't reject .zip files!)