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, 03 Feb 2018 22:24:00 GMT

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

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

They are talking about our issue 
{{java.lang.NoSuchMethodError: No such DSL method 'lock' found among steps}}
in this mailing list
https://echelog.com/logs/browse/jenkins/1484694000
They recommend to install plugin:
https://plugins.jenkins.io/lockable-resources
You can find it in Pipeline doc:
https://jenkins.io/doc/pipeline/steps/lockable-resources/#lock-lock-shared-resource

> 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