Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
GitLab is a tool that is used for software development. You can do the planning, code management, monitoring, bugs management etc. using a single tool. It also provides GitLab CI and CD which is Continuous Integration and Continuous Deployment respectively. With the help of a few configurations, your every commit or push triggers a CI pipeline. A pipeline is a group of jobs that get executed in stages. If everything goes right in a stage then only the pipeline moves to the next stage. There are stages like build, test and deploy.
In this blog, we will learn how to set up your Android project with GitLab CI so that with every push it automatically starts generating an APK. First, we need to generate the APK and then we will go for the deployment part in the other blog.
You are here to learn about the GitLab CI, So we assume that you already know how to upload your code on GitLab CI. In case you are not aware of that you can flow this link of the GitLab Doc.
GitLab CI file location
In the above code, We have defined two stages build and test. The build stage creates a debug APK (We can also change the command to generate release version APK) and checks for lint warnings. The second stage tests the APK.
Hope this helps you in getting started with GitLab CI. There are a lot more things that you can do with the GitLab and we will surely see them some other day.
That’s all for this blog. Thank you very much. This is Vedesh Kumar signing off.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
./gradlew assembleRelease -Pandroid.injected.signing.store.file=$KEYFILE -Pandroid.injected.signing.store.password=$STORE_PASSWORD -Pandroid.injected.signing.key.alias=$KEY_ALIAS -Pandroid.injected.signing.key.password=$KEY_PASSWORD
All you need is to define proper variables as mentioned in this line.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Webkul is a truly trusted and supported IT Company to develop business ideas for e-commerce. They provide professional support after deploying the solution to production and be responsible to act for fixing the reported issues or system errors. We highly encourage to deal with Webkul for business development.
Hussein Zawia
Co-founder, 24Dokan
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.