You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/06/29 15:00:49 UTC
[maven-jenkins-lib] branch master updated: Make failingFast global
variable
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push:
new ea7c479 Make failingFast global variable
ea7c479 is described below
commit ea7c4793d507ece0362490529b3fd28230b8824e
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jun 29 17:00:43 2018 +0200
Make failingFast global variable
---
vars/asfMavenTlpPlgnBuild.groovy | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index d71a235..347f187 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -18,9 +18,10 @@
* specific language governing permissions and limitations
* under the License.
*/
+
+def failingFast = null
def call(Map params = [:]) {
- def failingFast = null
try {
// set build retention time first
def buildRetention
@@ -43,11 +44,11 @@ def call(Map params = [:]) {
for (def mvn in mavens) {
def jdk = Math.max( jdkMin as Integer, jenkinsEnv.jdkForMaven( mvn ) as Integer) as String
jdks = jdks.findAll{ it != jdk }
- doCreateTask( os, jdk, mvn, tasks, first, failFast, failingFast )
+ doCreateTask( os, jdk, mvn, tasks, first, failFast )
}
for (def jdk in jdks) {
def mvn = jenkinsEnv.mavenForJdk(jdk)
- doCreateTask( os, jdk, mvn, tasks, first, failFast, failingFast )
+ doCreateTask( os, jdk, mvn, tasks, first, failFast )
}
}
// run the parallel builds
@@ -87,7 +88,7 @@ def call(Map params = [:]) {
}
}
-def doCreateTask( os, jdk, maven, tasks, first, failFast, failingFast )
+def doCreateTask( os, jdk, maven, tasks, first, failFast )
{
String label = jenkinsEnv.labelForOS(os);
String jdkName = jenkinsEnv.jdkFromVersion(os, "${jdk}")