{"id":23404792,"url":"https://github.com/saagie/gradle-saagie-plugin","last_synced_at":"2025-09-03T01:38:16.207Z","repository":{"id":55900855,"uuid":"91358363","full_name":"saagie/gradle-saagie-plugin","owner":"saagie","description":"Gradle plugin to automatise saagie platform management using gradle.","archived":false,"fork":false,"pushed_at":"2020-12-15T10:31:26.000Z","size":239,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"develop","last_synced_at":"2025-04-08T22:47:51.072Z","etag":null,"topics":["gradle","plugin","saagie"],"latest_commit_sha":null,"homepage":"https://www.saagie.com/","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/saagie.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}},"created_at":"2017-05-15T16:11:15.000Z","updated_at":"2020-12-08T13:46:20.000Z","dependencies_parsed_at":"2022-08-15T09:00:53.621Z","dependency_job_id":null,"html_url":"https://github.com/saagie/gradle-saagie-plugin","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/saagie/gradle-saagie-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fgradle-saagie-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fgradle-saagie-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fgradle-saagie-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fgradle-saagie-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saagie","download_url":"https://codeload.github.com/saagie/gradle-saagie-plugin/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fgradle-saagie-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273377148,"owners_count":25094526,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gradle","plugin","saagie"],"created_at":"2024-12-22T13:15:45.379Z","updated_at":"2025-09-03T01:38:16.172Z","avatar_url":"https://github.com/saagie.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/saagie/gradle-saagie-plugin.svg?branch=master)](https://travis-ci.org/saagie/gradle-saagie-plugin)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.saagie/gradle-saagie-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.saagie/gradle-saagie-plugin)\n[![Download](https://api.bintray.com/packages/bintray/jcenter/io.saagie%3Agradle-saagie-plugin/images/download.svg) ](https://bintray.com/bintray/jcenter/io.saagie%3Agradle-saagie-plugin/_latestVersion)\n\n# gradle-saagie-plugin\n\nA Gradle plugin to create, update, export and import jobs to Saagie Datafabric.\n\nMore informations about Saagie: https://www.saagie.com\n\nThis plugin is only compatible with gradle 3.0+\n\n## Setup\n\nBuildscript snippets:\n\n```\nbuildscript {\n   repositories {\n       jcenter()\n   }\n   dependencies {\n       classpath group: 'io.saagie', name: 'gradle-saagie-plugin', version: '2.2.1'\n   }\n}\n\napply plugin: 'io.saagie.gradle-saagie-plugin'\n```\n\nFor Gradle 2.1+\n```\nplugins {\n  id 'io.saagie.gradle-saagie-plugin' version '2.2.1'\n}\n```\n\n## Usage\n\nThe following tasks are available:\n\n| Tasks              | Description                                               |\n|--------------------|-----------------------------------------------------------|\n| listJobs           | Lists all jobs id on the platform.                        |\n| createJob          | Creates a new job.                                        |\n| updateJob          | Updates a job.                                            |\n| exportJob          | Export a job from the platform into a local archive.      |\n| exportAllJobs      | Export all jobs from a platform into a local fat archive. |\n| importJob          | Creates a job from a local archive.                       |\n| importAllJobs      | Creates a job from a local fat archive.                   |\n| deleteJob          | Delete a job                                              |\n| deleteAllJobs      | Delete all jobs from a plateform. Needs unsafe flag       |\n| listVars           | Lists all variables on the platform.                      |\n| createVariable     | Creates a new variable.                                   |\n| updateVariable     | Updates a variable.                                       |\n| importVariable     | Creates variable from local file.                         |\n| exportVariable     | Export variable from the platform into a local file.      |\n| exportAllVariables | Export all variables from the platform into a local file. |\n| listPipelines      | Lists all pipelines on the platform.                       |\n| exportPipeline     | Export pipeline from the platform into a local file.      |\n| exportAllPipelines | Export all pipeline from the platform into a local file.  |\n| importPipeline     | Creates a pipeline from a local archive.                  |\n| importAllPipelines | Creates pipelines from local fat archive.                 | \n| runJob             | Runs a job on the platform.                               |\n| stopJob            | Stops a job on the platform.                              |\n\n## Quick Example\n```\nsaagie {\n    server {\n        url = 'https://manager.prod.saagie.io/api/v1'\n        login = 'my-login'\n        password = 'my-password'\n        platform = 666\n    }\n\n    jobs {[\n            {\n                name = 'JVM Example job'\n                type = 'java-scala'\n                category = 'processing'\n                languageVersion = '8.131'\n                cpu = 1\n                memory = 1024\n                disk = 2048\n                arguments = 'http://www.saagie.com'\n                description = 'This is an example job for jvm based languages.'\n                releaseNote = 'This release is fine.'\n                email = 'someone@domain.ext'\n                idFile = './jvm-example.id'\n            }\n        ]}\n    fileName = './my-cool-archive.jar'\n}\n```\nThen launch command ```gradle createJob```\n\n## Documentation\nFull documentation is available on the [wiki](https://github.com/saagie/gradle-saagie-plugin/wiki)\n\n## Changelog\n\nChangelogs are available [here](https://github.com/saagie/gradle-saagie-plugin/releases)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaagie%2Fgradle-saagie-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaagie%2Fgradle-saagie-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaagie%2Fgradle-saagie-plugin/lists"}