[JIRA] [gradle-jpi-plugin] (JENKINS-29692) targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used
Title: Message Title Alexey Java commented on JENKINS-29692 Re: targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used I think the issue I was fighting with was actually JENKINS-28781 turns out Jenkins applies some transformations to loaded java code. this seems just insane Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-29692) targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used
Title: Message Title Alexey Java closed an issue as Cannot Reproduce Jenkins / JENKINS-29692 targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used Change By: Alexey Java Status: Open Closed Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-29692) targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used
Title: Message Title Alexey Java commented on JENKINS-29692 Re: targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used hmm... this may be a problem with JDK on one of the servers: it was using OpenJDK 1.7 instead of Oracle JDK 1.7... I'll close this. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-29692) targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used
Title: Message Title Alexey Java updated an issue Jenkins / JENKINS-29692 targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used Change By: Alexey Java I have the following settings in my build.gradle file:// Jenkins 1.580+ still uses Java 7, not Java 8.sourceCompatibility = 1.7targetCompatibility = 1.7then I run "gradle jpi" on this pluginnote: the default Java available to Gradle during the build was Java 8.then I upload the plugin to a Jenkins server that is running on Java 7. turns out I suspect the plugin build ignored "targetCompatibility" and because the plugin execution failed in Jenkins:{quote}ava.lang.VerifyError: Expecting a stackmap frame at branch target 7Exception Details: Location:com/codepine/api/testrail/model/Project.isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason:Expected stackmap frame at this location. Bytecode:000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table:bci [0, 7] => handler: 7 at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2499) at java.lang.Class.getDeclaredFields(Class.java:1811) at com.fasterxml.jackson.databind.introspect.AnnotatedClass._findFields(AnnotatedClass.java:683) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveFields(AnnotatedClass.java:470) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:282) at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:380) at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:233) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:81) at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:11) at com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:547) at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:325) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:263) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:243) at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:144) at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:366) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:150) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23) at com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:572) at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:386) at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3095) at com.fasterxml.jackson.databind.O
[JIRA] [gradle-jpi-plugin] (JENKINS-29692) targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used
Title: Message Title Alexey Java created an issue Jenkins / JENKINS-29692 targetCompatibility Gradle setting is ignored by Gradle JPI plugin and default Java is used Issue Type: Bug Assignee: Daniel Spilker Components: gradle-jpi-plugin Created: 28/Jul/15 10:06 PM Priority: Major Reporter: Alexey Java I have the following settings in my build.gradle file: // Jenkins 1.580+ still uses Java 7, not Java 8. sourceCompatibility = 1.7 targetCompatibility = 1.7 then I run "gradle jpi" on this plugin note: the default Java available to Gradle during the build was Java 8. then I upload the plugin to a Jenkins server that is running on Java 7. turns out the plugin build ignored "targetCompatibility" and the plugin failed in Jenkins: ava.lang.VerifyError: Expecting a stackmap frame at branch target 7 Exception Details: Location: com/codepine/api/testrail/model/Project.isAssignableFrom0(Ljava/lang/Class;)Z @0: ldc Reason: Expected stackmap frame at this location. Bytecode: 000: 12bc 2ab6 00c1 ac12 c4ac Exception Handler Table: bci [0, 7] => handler: 7 at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2499) at java.lang.Class.getDeclaredFields(Class.java:1811) at com.fasterxml.jackson.databind.introspect.AnnotatedClass._findFields(AnnotatedClass.java:683) at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveFields(Annotate