Skip to content

Instantly share code, notes, and snippets.

View sleroy's full-sized avatar

Sylvain Leroy sleroy

View GitHub Profile
@sleroy
sleroy / Basic JobDsl Pipeline step1
Created March 5, 2015 09:58
JobDsl script to build a simple pipeline.
// Ici nous allons créer les jobs Jenkins associés au pipeline de déploiement
println "Creation of Jenkins Jobs"
/**
Reference documentation
https://github.com/jenkinsci/job-dsl-plugin/wiki/View-Reference
https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-DSL-Commands
*/
def project = 'Ehour'
@sleroy
sleroy / build.gradle
Last active August 29, 2015 14:07 — forked from devacto/build.gradle
apply plugin: 'java'
apply plugin: 'gradle-one-jar'
apply plugin: 'application'
// Use Java 8 by default
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.0'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'