Gradle plugin to automatise saagie platform management using gradle.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Build Status Maven Central Download


A Gradle plugin to create, update, export and import jobs to Saagie Datafabric.

More informations about Saagie:

This plugin is only compatible with gradle 3.0+


Buildscript snippets:

buildscript {
   repositories {
   dependencies {
       classpath group: 'io.saagie', name: 'gradle-saagie-plugin', version: '2.2.1'

apply plugin: 'io.saagie.gradle-saagie-plugin'

For Gradle 2.1+

plugins {
  id 'io.saagie.gradle-saagie-plugin' version '2.2.1'


The following tasks are available:

Tasks Description
listJobs Lists all jobs id on the platform.
createJob Creates a new job.
updateJob Updates a job.
exportJob Export a job from the platform into a local archive.
exportAllJobs Export all jobs from a platform into a local fat archive.
importJob Creates a job from a local archive.
importAllJobs Creates a job from a local fat archive.
deleteJob Delete a job
deleteAllJobs Delete all jobs from a plateform. Needs unsafe flag
listVars Lists all variables on the platform.
createVariable Creates a new variable.
updateVariable Updates a variable.
importVariable Creates variable from local file.
exportVariable Export variable from the platform into a local file.
exportAllVariables Export all variables from the platform into a local file.
runJob Runs a job on the platform.
stopJob Stops a job on the platform.

Quick Example

saagie {
    server {
        url = ''
        login = 'my-login'
        password = 'my-password'
        platform = 666

    jobs {[
                name = 'JVM Example job'
                type = 'java-scala'
                category = 'processing'
                languageVersion = '8.131'
                cpu = 1
                memory = 1024
                disk = 2048
                arguments = ''
                description = 'This is an example job for jvm based languages.'
                releaseNote = 'This release is fine.'
                email = 'someone@domain.ext'
                idFile = './'
    fileName = './my-cool-archive.jar'

Then launch command gradle createJob


Full documentation is available on the wiki


Changelogs are available here