Skip to content

Instantly share code, notes, and snippets.

View gdegani's full-sized avatar

Giancarlo Degani gdegani

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gdegani on github.
  • I am gdegani (https://keybase.io/gdegani) on keybase.
  • I have a public key ASBZn1B3GS3C5P4bwmVSvhT-8CjyH1EtPsSiv4Z5VneV7Qo

To claim this, I am signing this object:

@gdegani
gdegani / Jenkinsfile
Created November 21, 2019 23:57 — forked from oifland/Jenkinsfile
Loops in Jenkinsfiles
// Related to https://issues.jenkins-ci.org/browse/JENKINS-26481
abcs = ['a', 'b', 'c']
node('master') {
stage('Test 1: loop of echo statements') {
echo_all(abcs)
}
stage('Test 2: loop of sh commands') {
[INFO] ------------------------------------------------------------------------
[INFO] Building imagga 0.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (add_sources) @ imagga ---
[INFO] Source directory: /Users/giancarlo/Downloads/cancellami/Imagga-java/src/main/java added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ imagga ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/giancarlo/Downloads/cancellami/Imagga-java/src/main/resources