提交 e75bea89 编写于 作者: K Kohsuke Kawaguchi

[FIXED JENKINS-28120] Merge pull request #1679

...@@ -55,6 +55,10 @@ Upcoming changes</a> ...@@ -55,6 +55,10 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. --> <!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=--> <div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image> <ul class=image>
<li class=rfe>
As <a href="http://jenkins-ci.org/content/good-bye-java6">promised</a>, shipping
with Java7 class files.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-28120">issue 28120</a>)
<li class=bug> <li class=bug>
<code>Descriptor.getId</code> fix in 1.610 introduced regressions affecting at least the Performance and NodeJS plugins. <code>Descriptor.getId</code> fix in 1.610 introduced regressions affecting at least the Performance and NodeJS plugins.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-28093">issue 28093</a> and <a href="https://issues.jenkins-ci.org/browse/JENKINS-28110">issue 28110</a>) (<a href="https://issues.jenkins-ci.org/browse/JENKINS-28093">issue 28093</a> and <a href="https://issues.jenkins-ci.org/browse/JENKINS-28110">issue 28110</a>)
......
...@@ -749,7 +749,7 @@ THE SOFTWARE. ...@@ -749,7 +749,7 @@ THE SOFTWARE.
<configuration> <configuration>
<forkCount>0.5C</forkCount> <forkCount>0.5C</forkCount>
<reuseForks>true</reuseForks> <reuseForks>true</reuseForks>
<argLine>-XX:MaxPermSize=128m</argLine> <argLine>-XX:MaxPermSize=128m -noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 -->
</configuration> </configuration>
</plugin> </plugin>
<plugin><!-- set main class --> <plugin><!-- set main class -->
......
...@@ -50,10 +50,10 @@ THE SOFTWARE. ...@@ -50,10 +50,10 @@ THE SOFTWARE.
<j:set var="port" value="${request.getParameter('debugPort')}"/> <j:set var="port" value="${request.getParameter('debugPort')}"/>
<j:choose> <j:choose>
<j:when test="${port!=null}"> <j:when test="${port!=null}">
<j2se version="1.5+" java-vm-args="${it.launcher.vmargs} -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=${port}" /> <j2se version="1.7+" java-vm-args="${it.launcher.vmargs} -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=${port}" />
</j:when> </j:when>
<j:otherwise> <j:otherwise>
<j2se version="1.5+" java-vm-args="${it.launcher.vmargs}"/> <j2se version="1.7+" java-vm-args="${it.launcher.vmargs}"/>
</j:otherwise> </j:otherwise>
</j:choose> </j:choose>
<jar href="${rootURL}jnlpJars/remoting.jar"/> <jar href="${rootURL}jnlpJars/remoting.jar"/>
......
...@@ -359,6 +359,7 @@ THE SOFTWARE. ...@@ -359,6 +359,7 @@ THE SOFTWARE.
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version> <!-- ignoring ${maven-surefire-plugin.version} --> <version>2.16</version> <!-- ignoring ${maven-surefire-plugin.version} -->
<configuration> <configuration>
<argLine>-noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 -->
<systemPropertyVariables> <systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir> <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds> <forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
...@@ -604,7 +605,7 @@ THE SOFTWARE. ...@@ -604,7 +605,7 @@ THE SOFTWARE.
<configuration> <configuration>
<signature> <signature>
<groupId>org.codehaus.mojo.signature</groupId> <groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java1${java.level}</artifactId> <artifactId>java16</artifactId>
<version>1.0</version> <version>1.0</version>
</signature> </signature>
</configuration> </configuration>
...@@ -614,7 +615,7 @@ THE SOFTWARE. ...@@ -614,7 +615,7 @@ THE SOFTWARE.
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.${java.level}</source> <source>1.${java.level}</source>
<target>1.${java.level}</target> <target>1.7</target> <!-- TODO JENKINS-28120 restore to 1.${java.level} -->
<!-- default reuseCreated is more performant <!-- default reuseCreated is more performant
feel free to uncomment if you have any issues on your platform feel free to uncomment if you have any issues on your platform
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy> <compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
...@@ -633,13 +634,13 @@ THE SOFTWARE. ...@@ -633,13 +634,13 @@ THE SOFTWARE.
<configuration> <configuration>
<rules> <rules>
<requireJavaVersion> <requireJavaVersion>
<version>1.6.0-18</version> <version>1.7.0</version>
</requireJavaVersion> </requireJavaVersion>
<requireMavenVersion> <requireMavenVersion>
<version>3.0</version> <version>3.0</version>
</requireMavenVersion> </requireMavenVersion>
<enforceBytecodeVersion> <enforceBytecodeVersion>
<maxJdkVersion>1.${java.level}</maxJdkVersion> <maxJdkVersion>1.7</maxJdkVersion> <!-- TODO JENKINS-28120 restore to 1.${java.level} -->
<ignoreClasses> <ignoreClasses>
<ignoreClass>org.eclipse.jetty.spdy.*</ignoreClass> <ignoreClass>org.eclipse.jetty.spdy.*</ignoreClass>
</ignoreClasses> </ignoreClasses>
......
...@@ -47,7 +47,7 @@ THE SOFTWARE. ...@@ -47,7 +47,7 @@ THE SOFTWARE.
<dependency> <dependency>
<groupId>org.jenkins-ci</groupId> <groupId>org.jenkins-ci</groupId>
<artifactId>executable-war</artifactId> <artifactId>executable-war</artifactId>
<version>1.29</version> <version>1.30</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册