Merge "Add a note regarding deploy maven jobs"
[releng/builder.git] / jjb / releng-macros.yaml
index c6961aee37b78810c9f2a3618f83952473970fe3..3dabc46b9980974f7e364bac80ec40f6cc4d3e03 100644 (file)
             default: '{stage-id}'
             description: 'Nexus staging profile id'
 
+- parameter:
+    name: maven-exec
+    parameters:
+      - string:
+          name: MVN
+          default: '/w/tools/hudson.tasks.Maven_MavenInstallation/{maven-version}/bin/mvn'
+          description: 'Maven selector to be used by shell scripts'
+
 - scm:
     name: git-scm
     scm:
             script-only-if-failed: False
             mark-unstable-if-failed: True
         - workspace-cleanup:
+            exclude:
+              # autorelease-release-{stream} reqires vaiables.prop file to be preserved
+              # as the downstream test jobs fails invoke without automatically
+              - variables.prop
             fail-build: false
 
 - builder: