{"id":15798305,"url":"https://github.com/codeasashu/jenkinfiles","last_synced_at":"2025-03-31T20:12:23.768Z","repository":{"id":148600532,"uuid":"214892280","full_name":"codeasashu/jenkinfiles","owner":"codeasashu","description":"Jenkinfiles for gitlab","archived":false,"fork":false,"pushed_at":"2019-10-13T21:07:18.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-05T00:40:59.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/codeasashu.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":"2019-10-13T20:53:43.000Z","updated_at":"2022-02-21T14:42:08.000Z","dependencies_parsed_at":"2023-05-20T16:31:15.889Z","dependency_job_id":null,"html_url":"https://github.com/codeasashu/jenkinfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fjenkinfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fjenkinfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fjenkinfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fjenkinfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeasashu","download_url":"https://codeload.github.com/codeasashu/jenkinfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531975,"owners_count":20792736,"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":[],"created_at":"2024-10-05T00:40:49.418Z","updated_at":"2025-03-31T20:12:23.750Z","avatar_url":"https://github.com/codeasashu.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkinfiles\n\n**NOTE**-  This project currently supports [gitlab.com](https://gitlab.com)\n\nThis is a collection of jenkinfile pipelines for several usage. This repo holds several jenkinfiles suited for different languages. For instance, `Jenkinfile-php` is best suited for `PHP` projects while `Jenkinfile-ansible` is best for ansible related operations.\n\n## Quick Start\nTo get started quickly, navigate to your jenkins server and then do the following:\n\n1. Create new item, give any name. Select `Pipeline` from below item list\n2. In job configuration, go to `pipeline` section\n3. In definition section, select `Pipeline script from SCM`. In SCM, select `git` and enter  this git repo in `Repository URL` section\n\n## How to use\n\nThe scripts are written so that it can be used individually. However, it can still work when your jobs are interlinked (dependent). \n\nFor instance, you may want to run ansible script after your `php` based job has been built, for deployment. For this to work, you can create two jobs:\n\n- PHP\n- Ansible\n\nAnd in `php` job, you can set environment variable `NEXT_JOB` in the build configuration to run the next job after this\n\n## Features\n\n- Auto build on merge request event and push events\n- Git diffs artifacts available as `diff.txt`\n- Automerge source branch to target and push\n- Ansible send slack notification","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeasashu%2Fjenkinfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeasashu%2Fjenkinfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeasashu%2Fjenkinfiles/lists"}