{"id":3957,"date":"2020-07-23T17:22:00","date_gmt":"2020-07-23T17:22:00","guid":{"rendered":"https:\/\/www.teamtweaks.com\/blog\/?p=3957"},"modified":"2026-02-11T11:47:47","modified_gmt":"2026-02-11T06:17:47","slug":"automate-building-android-apk-files-with-jenkins-through-ci-cd","status":"publish","type":"post","link":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/","title":{"rendered":"Automate Your Android APK Bundle Publishing using Jenkins through CI\/CD"},"content":{"rendered":"\n<p>Day by day, technology is moving faster than ever before and accepting the changes in technology is very important. Being a app developers it is such a headache for an android developer to generate android package (apk) using android studio to meet the other teams\u2019 requirement based on some development or testing.  Once the application processed all the testing, android developer need to generate the apk and upload it to google play or apk file for final testing. In this article, we going to share how to automate the apk generation through CI\/CD pipeline with the help of Jenkins and Git. Before we move to discuss the apk development using Jenkins, we should first know what Jenkins is and other important information about apk development using Jenkins. <a href=\"https:\/\/www.teamtweaks.com\/\">Team Tweaks<\/a>, the best firm <a href=\"https:\/\/www.teamtweaks.com\/android-app-development-company-in-chennai\">Android app development company in Chennai<\/a> where they have developed top-notch products.\u00a0<\/p>\n\n\n\n<p><strong>What is GitLab?<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>GitLab is an important platform for developers and it provides you with a complete DevOps platform delivered to you as a single application. <a href=\"https:\/\/about.gitlab.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GitLab <\/a>has made Concurrent DevOps possible for you and it is a unique platform to make your organization free of the constraints from the pieced-together toolchain. It is highly efficient and gives you a rather cost-effective solution to all of your <a href=\"https:\/\/www.teamtweaks.com\/devops-consulting\" target=\"_blank\" rel=\"noreferrer noopener\">DevOps problems<\/a>. It is speedy too so that your precious time is not wasted and on top of all that GitLab also does not compromise your security over speed.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"452\" src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23174223\/git-lab-1024x452.png\" alt=\"\" class=\"wp-image-3977\" srcset=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23174223\/git-lab-1024x452.png 1024w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23174223\/git-lab-300x132.png 300w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23174223\/git-lab-768x339.png 768w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23174223\/git-lab.png 1050w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>The first single application for the entire DevOps<\/figcaption><\/figure>\n\n\n\n<p><strong>What is continuous integration CI\/CD?<\/strong><\/p>\n\n\n\n<p>It is a development practice that asks developers to integrate code into a shared repository a number of times in a single day. Every check-in is verified by an automated build that makes detection of problems early and in time. It is most helpful in cases where multiple contributors changes code into a single software project.It is consisted of automatic tools that assert every new code\u2019s correctness before it integrates it. A source code version control system is the crux of the CI process. The version control system is also added with other check to make it more efficient and these checks include syntax style review tool, code quality tests with more.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171226\/image.png\" alt=\"\" class=\"wp-image-3960\"\/><\/figure>\n\n\n\n<p>A continuous delivery pipeline uses implementation of the continuous paradigm in which automated builds, deployments and tests are orchestrated as one release workflow. It is asset of steps through which your code changes will go before making their way to production.<\/p>\n\n\n\n<p><strong>Jenkins<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group alignwide\"><div class=\"wp-block-group__inner-container\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23174541\/Jenkins.png\" alt=\"\" class=\"wp-image-3979\"\/><figcaption>Jenkins Open Source Plugin for Continuous Integration purpose<\/figcaption><\/figure><\/div>\n<\/div><\/div>\n\n\n\n<p>Before learning more about generation of apk through dockerization we need to learn about Jenkins, <a href=\"https:\/\/www.jenkins.io\/doc\/book\/pipeline\/running-pipelines\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Jenkins pipelines<\/a>, Jenkins installation and <a href=\"https:\/\/www.jenkins.io\/doc\/book\/pipeline\/docker\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Jenkins on Docker<\/a> also. It is one of the best tool for continuous integration, CI tools that is written in the Java programming language. It is a self-contained, open source automation server which is used to automate all sorts of tasks like deploying, testing and building software. It can be installed using Docker or kubernates like container, it can also be run standalone by any machine that uses the Java Runtime Environment. You would most likely connect every Jenkins project to a SCM tool like GitLab and it will trigger builds manually whenever a source change is found. It allows you to use around 1000 plug-ins and it can work with third party services.<\/p>\n\n\n\n<h2 class=\"has-text-align-center\"><strong>How to integrate GitLab with Jenkins?<\/strong><\/h2>\n\n\n\n<p>If you want to integrate GitLab with Jenkins you need to follow the following steps.<\/p>\n\n\n\n<ol type=\"i\"><li>First you need to create a new GitLab user or you can also use an existing GitLab user. This account of yours will be used by Jenkins to access the GitLab projects. It is recommended if you use an account for only the purpose of using it for GitLab projects. If the account you are using for GitLab-Jenkins integration and it got activated then the integration will be disconnected and won\u2019t work.<\/li><li>Now grant the permission to the account which you have chosen for GitLab projects. It is recommended to provide the user with global Admin permission if you are integrating Jenkins with multiple GitLab projects. The other method is to add the user to each project and then you can grant developer permission.<\/li><li>Then configure GitLab API access by creating a personal access token to authorize Jenkins\u2019 access to GitLab.<\/li><li>Now install and configure the Jenkins plug-ins as both plug-ins must be installed and configured so the authorization of the connection to GitLab can be completed.<\/li><li>Now set up the Jenkins project that you were going to run your build on.<\/li><li>Configure the GitLab project integration with Jenkins.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"631\" src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23170912\/gitlab-commit-1024x631.jpg\" alt=\"code commiting in gitlab\" class=\"wp-image-3959\" srcset=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23170912\/gitlab-commit-1024x631.jpg 1024w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23170912\/gitlab-commit-300x185.jpg 300w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23170912\/gitlab-commit-768x473.jpg 768w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23170912\/gitlab-commit-1536x947.jpg 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Code commit in Git<\/figcaption><\/figure>\n\n\n\n<h2><strong>Automate the Android Signed Apk Build &amp; Deploy Using GitLab<\/strong><\/h2>\n\n\n\n<p>First we shell get started GitLab CI\/CD tools or CI\/CD DevOps with android and the tools used in this automation require<\/p>\n\n\n\n<ul><li>The first tool we are going to use is gitlab-ci.yml which is used for configuration file for commands that runs the pipeline.<\/li><li>Next tool used is Gradle play publisher plug-in and it is a Gradle plug-in that allows the user to upload your App Bundle or APK and all the other app details to the Google Play Store.<\/li><li>The other tool you are going to need is Android Emulator Plug-in which supports a new job with the build multi-configuration project option. It will help you to test multiple emulator configurations at the same time. You can test screen resolutions, densities and different languages with the help of this plug-in.<\/li><li>Git Parameter Plug-in can be used if you have more one build branch on project.<\/li><li>Now setup Gradle play publisher plug-in by opening your project level build.gradle file and set the class path. Be careful, not to choose the app\/build.gradle.<\/li><li>Always be sure to add a valid signing configuration to your release build, otherwise no publishing task will be created.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"366\" src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171614\/jenkins-dashboard-1-1024x366.jpg\" alt=\"\" class=\"wp-image-3962\" srcset=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171614\/jenkins-dashboard-1-1024x366.jpg 1024w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171614\/jenkins-dashboard-1-300x107.jpg 300w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171614\/jenkins-dashboard-1-768x275.jpg 768w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171614\/jenkins-dashboard-1-1536x549.jpg 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Jenkin dashboard before gradle initiated<\/figcaption><\/figure>\n\n\n\n<p>In order to install all these plug-ins on Jenkins you need to follow these steps.<\/p>\n\n\n\n<ol type=\"i\"><li>Go to home page.<\/li><li>Select manage Jenkins<\/li><li>Go to manage plug-ins<\/li><li>Select \u2018available\u2019 option<\/li><li>Select the plug-ins mentioned one by one<\/li><li>Now hit \u2018install without restart\u2019<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23172039\/image-1.png\" alt=\"\" class=\"wp-image-3966\"\/><\/figure>\n\n\n\n<p>Now you have managed to install all the plug-ins needed for the job to be done. The next step is to configure build tool, follow the steps given below to configure build tool which is Gradle in this case.<\/p>\n\n\n\n<ol type=\"i\"><li>Go to \u2018manage Jenkins\u2019<\/li><li>Now select Global Tool Configuration and configure Gradle and setup Gradle version which is used for your application building<\/li><\/ol>\n\n\n\n<p>Now we have to configure JDK<\/p>\n\n\n\n<ol type=\"i\"><li>Select manage Jenkins<\/li><li>Now select Global Tool Configuration<\/li><li>Configure JDK and set up JAVA_HOME<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"681\" src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-1024x681.jpg\" alt=\"jenkins gradle loaded\" class=\"wp-image-3964\" srcset=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-1024x681.jpg 1024w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-300x199.jpg 300w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-768x510.jpg 768w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-1536x1021.jpg 1536w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-270x180.jpg 270w, https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/23171624\/jenkins-gitcommit-370x245.jpg 370w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>jenkins gradle loaded after git commit<\/figcaption><\/figure>\n\n\n\n<p>Now you have to configure your build job, follow the steps given below.<\/p>\n\n\n\n<ul><li>Select \u2018configure\u2019 if your project have more than one build branch on you GIT repository and select \u2018this project is parameterized\u2019<\/li><li>then select Git Parameter<\/li><li>A Gradle path selector will be helpful to specify which application to build if your project has more than one application<\/li><li>Now select \u2018choice parameter Go\u2019 to source code management and Select Git<\/li><li>Fill the Git repository URL and provide credentials if the repository is private<\/li><\/ul>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<p><strong>Setup Branch to Build<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p>Go to \u2018build\u2019 section and select \u2018invoke Gradle script that select Gradle version, you can use build.gradle for gradle path directly if you project has on build.gradle. Now save and apply the work you have done so far. Now you are able to run your Android build. Now go to \u2018build with parameter\u2019 and select \u2018branch\u2019 and then select \u2018gradle\/application\u2019 which you want to build.<\/p>\n\n\n\n<p>If you want to run test on your device you need to configure a virtual device. Make sure that you have selected the \u2018show emulator window\u2019 option as your job must not depend on the availability of a display server.<\/p>\n\n\n\n<h2><strong>The Result .<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24121622\/image-3.png\" alt=\"APK Bundle Publishing using Jenkins through CI\/CD\" class=\"wp-image-4051\"\/><\/figure>\n\n\n\n<p>It is known to professional developer that your system memory gets almost completely taken over by android studio when apk is being generated. Android developers can make their life easier and convenient by generating apk using Jenkins according to their requirements.<\/p>\n\n\n\n<p>Finally, we are successfully upload Android App Bundle to S3 bucket. There is option to generate the signed apk and directly upload it to Google play store console. <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"CI\/CD Pipeline for Android APK using Jenkins\" width=\"770\" height=\"433\" src=\"https:\/\/www.youtube.com\/embed\/rJUTJ_XIdt8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Day by day, technology is moving faster than ever before and accepting the changes in technology is very important. Being a app developers it is such a headache for an android developer to generate android package (apk) using android studio to meet the other teams\u2019 requirement based on some development or testing. Once the application<\/p>\n","protected":false},"author":1,"featured_media":4059,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[56],"tags":[164,187,192,193,194,82],"better_featured_image":{"id":4059,"alt_text":"","caption":"CI\/CD Pipeline for Android APK using \nJenkins","description":"","media_type":"image","media_details":{"width":2252,"height":1063,"file":"2020\/07\/thumb-jenkins.jpg","sizes":{"medium":{"file":"thumb-jenkins-300x142.jpg","width":300,"height":142,"mime-type":"image\/jpeg"},"large":{"file":"thumb-jenkins-1024x483.jpg","width":1024,"height":483,"mime-type":"image\/jpeg"},"thumbnail":{"file":"thumb-jenkins-150x150.jpg","width":150,"height":150,"mime-type":"image\/jpeg"},"medium_large":{"file":"thumb-jenkins-768x363.jpg","width":768,"height":363,"mime-type":"image\/jpeg"},"1536x1536":{"file":"thumb-jenkins-1536x725.jpg","width":1536,"height":725,"mime-type":"image\/jpeg"},"2048x2048":{"file":"thumb-jenkins-2048x967.jpg","width":2048,"height":967,"mime-type":"image\/jpeg"},"post-thumbnail":{"file":"thumb-jenkins-270x180.jpg","width":270,"height":180,"mime-type":"image\/jpeg"},"contentberg-main":{"file":"thumb-jenkins-770x515.jpg","width":770,"height":515,"mime-type":"image\/jpeg"},"contentberg-main-full":{"file":"thumb-jenkins-1170x508.jpg","width":1170,"height":508,"mime-type":"image\/jpeg"},"contentberg-slider-stylish":{"file":"thumb-jenkins-900x515.jpg","width":900,"height":515,"mime-type":"image\/jpeg"},"contentberg-slider-carousel":{"file":"thumb-jenkins-370x370.jpg","width":370,"height":370,"mime-type":"image\/jpeg"},"contentberg-slider-grid-b":{"file":"thumb-jenkins-554x466.jpg","width":554,"height":466,"mime-type":"image\/jpeg"},"contentberg-slider-grid-b-sm":{"file":"thumb-jenkins-306x466.jpg","width":306,"height":466,"mime-type":"image\/jpeg"},"contentberg-slider-bold-sm":{"file":"thumb-jenkins-150x150.jpg","width":150,"height":150,"mime-type":"image\/jpeg"},"contentberg-grid":{"file":"thumb-jenkins-370x245.jpg","width":370,"height":245,"mime-type":"image\/jpeg"},"contentberg-list":{"file":"thumb-jenkins-260x200.jpg","width":260,"height":200,"mime-type":"image\/jpeg"},"contentberg-list-b":{"file":"thumb-jenkins-370x305.jpg","width":370,"height":305,"mime-type":"image\/jpeg"},"contentberg-thumb":{"file":"thumb-jenkins-87x67.jpg","width":87,"height":67,"mime-type":"image\/jpeg"},"contentberg-thumb-alt":{"file":"thumb-jenkins-150x150.jpg","width":150,"height":150,"mime-type":"image\/jpeg"}},"image_meta":{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"1","keywords":[]}},"post":3957,"source_url":"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automate Your Android APK Bundle Publishing using Jenkins<\/title>\n<meta name=\"description\" content=\"Easy way to automate generating android apk bundle in cloud through CI\/CD pipeline. Our expert devops engineer shown the demo how the devops pipeline works\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automate Your Android APK Bundle Publishing using Jenkins\" \/>\n<meta property=\"og:description\" content=\"Easy way to automate generating android apk bundle in cloud through CI\/CD pipeline. Our expert devops engineer shown the demo how the devops pipeline works\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/\" \/>\n<meta property=\"og:site_name\" content=\"Team Tweaks Blog - Information on Latest Trends in IOT | App Development | Web Development | DevOps and all Other Technology Trends in Chennai - India\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-23T17:22:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-11T06:17:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2252\" \/>\n\t<meta property=\"og:image:height\" content=\"1063\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kapil\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/#website\",\"url\":\"https:\/\/www.teamtweaks.com\/blog\/\",\"name\":\"Team Tweaks Blog - Information on Latest Trends in IOT | App Development | Web Development | DevOps and all Other Technology Trends in Chennai - India\",\"description\":\"Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.teamtweaks.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg\",\"contentUrl\":\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg\",\"width\":2252,\"height\":1063,\"caption\":\"CI\/CD Pipeline for Android APK using Jenkins\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#webpage\",\"url\":\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/\",\"name\":\"Automate Your Android APK Bundle Publishing using Jenkins\",\"isPartOf\":{\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#primaryimage\"},\"datePublished\":\"2020-07-23T17:22:00+00:00\",\"dateModified\":\"2026-02-11T06:17:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/#\/schema\/person\/1ff4d7a2551343de94e4e216fd440947\"},\"description\":\"Easy way to automate generating android apk bundle in cloud through CI\/CD pipeline. Our expert devops engineer shown the demo how the devops pipeline works\",\"breadcrumb\":{\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.teamtweaks.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automate Your Android APK Bundle Publishing using Jenkins through CI\/CD\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/#\/schema\/person\/1ff4d7a2551343de94e4e216fd440947\",\"name\":\"Kapil\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.teamtweaks.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24090637\/Kapilnew-150x150.jpeg\",\"contentUrl\":\"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24090637\/Kapilnew-150x150.jpeg\",\"caption\":\"Kapil\"},\"description\":\"A well-versed experience in the field of IT with more than 14+ years of expertise in DevOps Consulting, Quality Assurance, Project Management &amp; Outsourcing and predominantly focusing on customer relationships, negotiations, estimations, contact partners, market research and helping small business owners and young entrepreneurs to reach their next level.\",\"sameAs\":[\"https:\/\/www.teamtweaks.com\/blog\"],\"url\":\"https:\/\/www.teamtweaks.com\/blog\/author\/teamtweaksblog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automate Your Android APK Bundle Publishing using Jenkins","description":"Easy way to automate generating android apk bundle in cloud through CI\/CD pipeline. Our expert devops engineer shown the demo how the devops pipeline works","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/","og_locale":"en_US","og_type":"article","og_title":"Automate Your Android APK Bundle Publishing using Jenkins","og_description":"Easy way to automate generating android apk bundle in cloud through CI\/CD pipeline. Our expert devops engineer shown the demo how the devops pipeline works","og_url":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/","og_site_name":"Team Tweaks Blog - Information on Latest Trends in IOT | App Development | Web Development | DevOps and all Other Technology Trends in Chennai - India","article_published_time":"2020-07-23T17:22:00+00:00","article_modified_time":"2026-02-11T06:17:47+00:00","og_image":[{"width":2252,"height":1063,"url":"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg","type":"image\/jpeg"}],"twitter_card":"summary","twitter_misc":{"Written by":"Kapil","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.teamtweaks.com\/blog\/#website","url":"https:\/\/www.teamtweaks.com\/blog\/","name":"Team Tweaks Blog - Information on Latest Trends in IOT | App Development | Web Development | DevOps and all Other Technology Trends in Chennai - India","description":"Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamtweaks.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#primaryimage","inLanguage":"en-US","url":"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg","contentUrl":"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24140912\/thumb-jenkins.jpg","width":2252,"height":1063,"caption":"CI\/CD Pipeline for Android APK using Jenkins"},{"@type":"WebPage","@id":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#webpage","url":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/","name":"Automate Your Android APK Bundle Publishing using Jenkins","isPartOf":{"@id":"https:\/\/www.teamtweaks.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#primaryimage"},"datePublished":"2020-07-23T17:22:00+00:00","dateModified":"2026-02-11T06:17:47+00:00","author":{"@id":"https:\/\/www.teamtweaks.com\/blog\/#\/schema\/person\/1ff4d7a2551343de94e4e216fd440947"},"description":"Easy way to automate generating android apk bundle in cloud through CI\/CD pipeline. Our expert devops engineer shown the demo how the devops pipeline works","breadcrumb":{"@id":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamtweaks.com\/blog\/automate-building-android-apk-files-with-jenkins-through-ci-cd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamtweaks.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Automate Your Android APK Bundle Publishing using Jenkins through CI\/CD"}]},{"@type":"Person","@id":"https:\/\/www.teamtweaks.com\/blog\/#\/schema\/person\/1ff4d7a2551343de94e4e216fd440947","name":"Kapil","image":{"@type":"ImageObject","@id":"https:\/\/www.teamtweaks.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24090637\/Kapilnew-150x150.jpeg","contentUrl":"https:\/\/teamtweaks1-blog.s3.us-east-2.amazonaws.com\/blog\/wp-content\/uploads\/2020\/07\/24090637\/Kapilnew-150x150.jpeg","caption":"Kapil"},"description":"A well-versed experience in the field of IT with more than 14+ years of expertise in DevOps Consulting, Quality Assurance, Project Management &amp; Outsourcing and predominantly focusing on customer relationships, negotiations, estimations, contact partners, market research and helping small business owners and young entrepreneurs to reach their next level.","sameAs":["https:\/\/www.teamtweaks.com\/blog"],"url":"https:\/\/www.teamtweaks.com\/blog\/author\/teamtweaksblog\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/posts\/3957"}],"collection":[{"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/comments?post=3957"}],"version-history":[{"count":13,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/posts\/3957\/revisions"}],"predecessor-version":[{"id":16739,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/posts\/3957\/revisions\/16739"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/media\/4059"}],"wp:attachment":[{"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/media?parent=3957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/categories?post=3957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamtweaks.com\/blog\/wp-json\/wp\/v2\/tags?post=3957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}