infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-15978) Multibranch Pipeline does not have Groovy function "lock" in our Jenkins
Date Sat, 10 Feb 2018 05:35:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-15978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359269#comment-16359269
] 

Tibor Digana commented on INFRA-15978:
--------------------------------------

[~gmcdonald]
I will explain what is going on.
I have to trigger 23 jobs by one commit. All of them have integration test which bind to the
TCP ports 8083 and 8084 and the ITs take cca 1 minute to complete. The ideal would be to lock
only these tests for short time and part of the concurrent jobs will be exclusive. One job
takes 1 hour. Part means 1 minute out of 1 hour, only.

Regarding ZIP. I nee to zip the logs from all parallel runs triggered by Groovy Jenkinsfile.
But is it normal to download and read 60 MB logs in the Firefox. No, and therefore I need
a zip on Windows and download the zip file as a built artifact.

> Multibranch Pipeline does not have Groovy function "lock" in our Jenkins
> ------------------------------------------------------------------------
>
>                 Key: INFRA-15978
>                 URL: https://issues.apache.org/jira/browse/INFRA-15978
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: Jenkins
>            Reporter: Tibor Digana
>            Assignee: Gavin
>            Priority: Major
>
> Multibranch Pipeline does not have Groovy function "lock" in our Jenkins.
> This is default function from Pipeline API.
> Maybe you should upgrade the plugin version.
> I am using Timeout: 15 MINUTES on this lock. So this should not exhaust resources.
> This is the log:
> https://builds.apache.org/job/maven-surefire-pipeline/job/SUREFIRE-1463/104/consoleFull
> And error from the log:
> [Pipeline] End of Pipeline
> java.lang.NoSuchMethodError: No such DSL method 'lock' found



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message