The cookies is used to store the user consent for the cookies in the category "Necessary". This cookie is set by GDPR Cookie Consent plugin. The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly. Any action we want to perform after all the steps have succeeded or failed
The steps necessary to generate the desired build
Jenkins node to be used must have the label android Tag Selector of the agent that will run the build job String(name: 'gitBranch', defaultValue: 'development', description: 'Set the branch.')īooleanParam(name: 'developmentBuild', defaultValue: true, description: 'Choose the buildType.') Variable inputs that modify the behavior of the job Options: add timestamp to job logs and limiting the number of builds to be kept.īuildDiscarder(logRotator(numToKeepStr: "10"))
UNITY_ID_LICENSE = credentials('jenkins-id-for-unity-license')īUILD_NAME = "Android-$" UNITY_ID_PASSWORD = credentials('jenkins-id-for-unity-password') UNITY_ID_EMAIL = credentials('jenkins-id-for-unity-email') String gitCredentials = "jenkins-private-key" // set a PrivateKey credential if your repo is private String gitUrl = " :GekoCloud/unity_build_demo.git" Definition of env variables that can be used throughout the pipeline job