{"id":19382144,"url":"https://github.com/jubbasmail/jenkins-android-bitbucket","last_synced_at":"2025-04-23T20:32:07.747Z","repository":{"id":89665247,"uuid":"86511102","full_name":"JubbaSmail/jenkins-android-bitbucket","owner":"JubbaSmail","description":"Docker container to automatically install and configure Jenkins to build Android APK after every commit on BitBucket repository with a specific format","archived":false,"fork":false,"pushed_at":"2017-07-04T14:31:44.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T19:51:37.353Z","etag":null,"topics":["andriod","bitbucket","docker-image","jenkins"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JubbaSmail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-28T21:58:42.000Z","updated_at":"2024-07-08T23:34:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c5dddde-c43d-4338-9a2d-9c4fc2733eba","html_url":"https://github.com/JubbaSmail/jenkins-android-bitbucket","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JubbaSmail%2Fjenkins-android-bitbucket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JubbaSmail%2Fjenkins-android-bitbucket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JubbaSmail%2Fjenkins-android-bitbucket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JubbaSmail%2Fjenkins-android-bitbucket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JubbaSmail","download_url":"https://codeload.github.com/JubbaSmail/jenkins-android-bitbucket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509770,"owners_count":21442490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["andriod","bitbucket","docker-image","jenkins"],"created_at":"2024-11-10T09:19:51.315Z","updated_at":"2025-04-23T20:32:07.740Z","avatar_url":"https://github.com/JubbaSmail.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins Android Bitbucket auto build on each commit\nDocker container to automatically install and configure Jenkins to build Android APK after each commit on BitBucket repository with a specific format\n\n\u003cimg width=\"300\" src=\"http://jenkins-ci.org/sites/default/files/jenkins_logo.png\"/\u003e\u003cimg width=\"110\" src=\"https://mir-s3-cdn-cf.behance.net/project_modules/disp/cc14679984981.560dd8d3aa5e4.png\"/\u003e\u003cimg width=\"100\" src=\"http://sdtimes.com/wp-content/uploads/2016/07/0722.sdt-atlassian.png\"/\u003e\n\n# Building\nClone the project to your directory\n```bash\ngit clone https://github.com/Ismail-AlJubbah/jenkins-android-bitbucket\n```\nEdit the file `android_bitbucket.yml` under -git url paste your BitBucket Repository URL\n```yml\n- git:\n    url: [YOUR BitBucket Repository Public URL]\n```\nThen build the image\n```bash\ndocker build -t jubba/jenkins-android:latest .\n```\n\n# Running\nRun this command to run the container \n```bash\ndocker run -d -p 80:8080 -u=root --name jnks -v jenkins_home:/var/jenkins_home jubba/jenkins-android\n```\nRun this command to setup Jenkins job and get the admin password\n```bash\ndocker exec -it jnks /opt/initJob.sh\n```\n\n# Setting on your BitBucket Repo\nGo to your BitBucket reposotoriy Settings -\u003e Webhook, input the title and the url as `http://YOUR-Jenkins-Public-IP/bitbucket-hook/` then save\n\n\u003cimg src=\"http://static.imljh.com/bitbucket.png\"\u003e\n\n# Testing\nCommit and Push new changes on your Andriod project on BitBucket and you should see new build running on Jenkins Job, the new generated APK should found on `Last Successful Deployed Artifacts` with the following format `date:time_build-number.apk` \n\n\u003cimg src=\"http://static.imljh.com/jenkins_job.png\"\u003e\n\n# Links\nMore information can be found on the following links:\n\n1. [Jenkinsci offical docker image](https://github.com/jenkinsci/docker)\n2. [Jenkins job ymal file definition](https://docs.openstack.org/infra/jenkins-job-builder/definition.html#modules)\n3. [BitBucket: build after each commit](https://www.youtube.com/watch?v=nNaR5Q_pIa4)\n4. [Do it yourself maually](https://www.digitalocean.com/community/tutorials/how-to-build-android-apps-with-jenkins)\n \n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjubbasmail%2Fjenkins-android-bitbucket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjubbasmail%2Fjenkins-android-bitbucket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjubbasmail%2Fjenkins-android-bitbucket/lists"}