Issue Type: Bug Bug
Assignee: Daniel Spilker
Components: gradle-jpi-plugin
Created: 17/Nov/14 11:43 AM
Description:

Downloaded the repository from https://github.com/jenkinsci/gradle-jpi-plugin and tried to use the build.gradle file in the "doc" folder (https://github.com/jenkinsci/gradle-jpi-plugin/tree/master/doc).

$ ../gradlew build.gradle
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

FAILURE: Build failed with an exception.

* Where:
Script 'https://raw.github.com/jenkinsci/gradle-jpi-plugin/master/install' line: 22

* What went wrong:
A problem occurred evaluating script.
> Failed to apply plugin [id 'org.jenkins-ci.jpi']
   > Plugin with id 'org.jenkins-ci.jpi' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.355 secs

Using Java 1.8.0_25 on Windows 7.

Also tried to copy the build.gradle file from README.md (https://github.com/jenkinsci/gradle-jpi-plugin/blob/master/README.md)

With the gradle wrapper from gradle-jpi-plugin:

$ ../gradle-jpi-plugin-master/gradlew build
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
:localizer
:stapler
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:javadoc UP-TO-DATE
:javadocJar
:jpi FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jpi'.
> java/util/HashMap$Entry

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 13.436 secs

Gradle wrapper version of the gradle-jpi-plugin:

$ ../gradle-jpi-plugin-master/gradlew -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

------------------------------------------------------------
Gradle 2.1
------------------------------------------------------------

Build time:   2014-09-08 10:40:39 UTC
Build number: none
Revision:     e6cf70745ac11fa943e19294d19a2c527a669a53

Groovy:       2.3.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_05 (Oracle Corporation 25.5-b02)
OS:           Windows 7 6.1 amd64
Project: Jenkins
Priority: Major Major
Reporter: Hallvard Nygård
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to