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-16113) JavaC error nonsense on windows-2016-1 of Jenkins node
Date Wed, 28 Feb 2018 18:44:00 GMT

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

Tibor Digana commented on INFRA-16113:
--------------------------------------

My build uses {{tool: JDK 1.8 (latest)}}, so I have no idea how your activity could influence
my build. Maybe some plugins are influenced or some other environment variables are setup.
The most important thing is to delete all {{java*.exe}} files from {{C:\Windows\*** }}; otherwise
my setting would be ignored. I think you should not pass {{JAVA_HOME}} to {{PATH}} because
I am also setting local PATH in my build process in Jenkinsfile and I think the order matters
but I do not completely trust the Groovy function {{withEnv}}.

> JavaC error nonsense on windows-2016-1 of Jenkins node
> ------------------------------------------------------
>
>                 Key: INFRA-16113
>                 URL: https://issues.apache.org/jira/browse/INFRA-16113
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>         Environment: Windows, JavaC.exe, JDK 1.8 (latest)
>            Reporter: Tibor Digana
>            Assignee: Chris Thistlethwaite
>            Priority: Major
>
> We found errors which happen only on the Jenkins Node windows-2016-1.
> Last two builds, see [1], fail still in the same configuration. These configurations
run on windows-2016-1. The error is on javac side and it says that going to compile 6 source
files and then it says that there are no sources. Strange.
> Did you re-install the Java JDK 1.8 (latest) on windows-2016-1?
> The other machines windows-2012 do not have this problem.
> [1]: https://builds.apache.org/view/M-R/view/Maven/job/maven-wip/job/maven-surefire/job/master/
> [2]: https://builds.apache.org/view/M-R/view/Maven/job/maven-wip/job/maven-surefire/job/master/23/consoleFull
> Changes detected - recompiling the module!
> Compiling 6 source files to F:\jenkins\jenkins-slave\workspace\n-wip_maven-surefire_master-VMXNEFVLKSG4Y4Q25OS6RZDPHGE56CJURNETLF6TR2V5RXK7KNVQ\surefire-logger-api\target\classes
> [ERROR] COMPILATION ERROR :
> [ERROR] javac: no source files
> Usage: javac <options> <source files>
> use -help for a list of possible options



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

Mime
View raw message