Skip to content

Instantly share code, notes, and snippets.

def envs = ["Qualification", "Recette", "Production"].join('\n')
pipeline {
agent any
parameters {
choice(choices:envs , description: '', name: 'deployTo')
string(defaultValue: "", description: 'Nexus version', name: 'version')
string(defaultValue: "", description: 'Jira Deploy Date', name: 'deployDate')
text(defaultValue: '', description: '', name: 'ddd')
def parseDateJira(dateExp) {
if (dateExp ==~ /\d{2}\/\d{2}\/\d{4}/) {
return Date.parse("dd/MM/yyyy", dateExp)
} else if (dateExp ==~ /\d{4}\/\d{2}\/\d{2}/) {
return Date.parse("yyyy/MM/dd", dateExp)
} else {
}
}
pipeline {
agent any
tools {
maven 'maven3'
nodejs 'nodejs-latest'
}
stages {
stage('Maven version') {
steps {
sh 'mvn --version'

Keybase proof

I hereby claim:

  • I am jmorille on github.
  • I am jmorille (https://keybase.io/jmorille) on keybase.
  • I have a public key whose fingerprint is E4B4 D7E5 3506 67E1 2B11 B7BA 3864 2DD6 F771 30E4

To claim this, I am signing this object:

<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">