Giter Site home page Giter Site logo

job-dsl-sample's Issues

Dependency issues

Even commenting some plugins in build.gradle file I have

gradlew.bat test --continue

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ':testPlugins'.

Could not find blueocean-jira.jar (io.jenkins.blueocean:blueocean-jira:1.2.4).
Searched in the following locations:
https://jcenter.bintray.com/io/jenkins/blueocean/blueocean-jira/1.2.4/blueocean-jira-1.2.4.jar

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

2: Task failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ':testCompileClasspath'.

Could not find bootstrap-core-assets.jar (org.jenkins-ci.ui:bootstrap:1.3.2).
Searched in the following locations:
https://jcenter.bintray.com/org/jenkins-ci/ui/bootstrap/1.3.2/bootstrap-1.3.2-core-assets.jar

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

BUILD FAILED

plugin list generator

Sorry to open an issue, I just wanted to say that:

        jenkins.model.Jenkins.instance.pluginManager.plugins.findAll({ !(it.shortName ==~ /job-dsl|structs/) }).each {
            println "testPlugins '${it.manifest.mainAttributes.getValue("Group-Id")}:${it.shortName}:${it.version}'"
        }

is a hall of fame jenkins script!

Thx for it!

gradle-3.5 did not support jdk-11.0.7

My environment:
lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

java --version
openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)

uname -a
Linux will-ubuntu 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

The failure result:

./gradlew --version

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from '11.0.7'.

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

Fix:
I upgrade gradle-3.5 to gradle-6.3 in gradle-6.3, the above failure was fixed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.