Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump core so that it works with Job DSL #103

Closed
MadsNielsen opened this issue Jan 12, 2018 · 3 comments
Closed

Bump core so that it works with Job DSL #103

MadsNielsen opened this issue Jan 12, 2018 · 3 comments

Comments

@MadsNielsen
Copy link
Member

MadsNielsen commented Jan 12, 2018

We should probably update to 2.19.4. That is what is the required core.

See issue #102 we get this kind of error with HPI run

@MadsNielsen
Copy link
Member Author

First attempt:

[WARNING] Rule 5: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for com.google.code.findbugs:annotations:3.0.0 paths to dependency are:
+-org.jenkins-ci.plugins:pretested-integration:3.0.0-SNAPSHOT
  +-com.google.code.findbugs:annotations:3.0.0
and
+-org.jenkins-ci.plugins:pretested-integration:3.0.0-SNAPSHOT
  +-org.jenkins-ci.main:jenkins-core:2.19.4
    +-org.jenkins-ci.main:remoting:2.62.3
      +-com.google.code.findbugs:annotations:3.0.0 (managed) <-- com.google.code.findbugs:annotations:3.0.1

@MadsNielsen
Copy link
Member Author

Second try. Manually adding the dependency:

Added

        <!-- Temparily added this because of issue GHI 103 -->
        <dependency>
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>annotations</artifactId>
            <version>3.0.1</version>
        </dependency>

Got this startup error:

SEVERE: Failed Loading plugin Jenkins Git plugin v3.5.1 (git)
java.io.IOException: Jenkins Git plugin v3.5.1 failed to load.
 - Jenkins Parameterized Trigger plugin v2.25 is older than required. To fix, install v2.33 or later.
 - Token Macro Plugin v1.10 is older than required. To fix, install v1.12.1 or later.
	at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:621)
	at hudson.PluginManager$2$1$1.run(PluginManager.java:516)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:1085)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

@buep
Copy link
Contributor

buep commented Jan 12, 2018

Related to #64 - needed to write tests. See my comment here: #102 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants