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-14895) Environment in Jenkinsfile not provided by JDK_9_HOME = tool('JDK_9_B181_HOME')
Date Thu, 17 Aug 2017 05:49:00 GMT

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

Tibor Digana commented on INFRA-14895:
--------------------------------------

I used host ubuntu-6 where another build was able to use this tool of java 9.
https://builds.apache.org/view/M-R/view/Maven/job/maven-surefire-pipeline/job/master/64/console
but we have this in the log somehow long:
Still waiting to schedule task
Waiting for next available executor on ubuntu-6

> Environment in Jenkinsfile not provided by JDK_9_HOME = tool('JDK_9_B181_HOME')
> -------------------------------------------------------------------------------
>
>                 Key: INFRA-14895
>                 URL: https://issues.apache.org/jira/browse/INFRA-14895
>             Project: Infrastructure
>          Issue Type: Project
>          Components: Jenkins
>            Reporter: Tibor Digana
>
> I use Jenkinsfile in Maven Surefire project and reference tool 'JDK_9_B181_HOME'.
> Problem is this in Jenkins log:
> ERROR: No tool named JDK_9_B181_HOME found
> Finished: FAILURE
> See the log:
> https://builds.apache.org/view/M-R/view/Maven/job/maven-surefire-pipeline/job/master/63/console
> In Maven Surefire project, see
> https://github.com/apache/maven-surefire/blob/master/Jenkinsfile#L14
> I use tool JDK_9_B181_HOME like this:
> environment {
>     JDK_9_HOME = tool('JDK_9_B181_HOME')
> }
> What is wrong with this?
> Machine used is H21.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message