Hot answers tagged

4

The EnvInject plugin is basically attempting to load the build environment which uses configuration of JDK tools in Jenkins which fails during reinstallation of Java JDK library on the Windows slave (as per given configuration). This JDK configuration can be found in Global Tool Configuration (at /configureTools) for the given JDK profile which was ...


3

For something that requires being agnostic to the tooling, and having the flexibility you need, your best bet is Jenkins. https://jenkins.io/. They have a ton of plugins that would meet any use case. Be aware that Jenkins can be heavy for small teams, but your other options lack the flexibility and support for different communities. You can check out ...


3

Even with the rationale you edited in, I don't really see a point. DevOps is an intersection of Dev, Ops (and more, like Security and maybe Testing) in a cultural sense. But on a technological sense, you will always have people in a mixed team who are good at one of those but not the others, and that is fine. For example: you might deploy something like ...


2

What could be a feasible way to motivate Maven and repository makers to establish some kind of early time warning, like issue special headers on download, or and additionally for example reject download of vulnerable components by default? Your concern, i.e. the meat of your question is a very valid one: how to improve security when downloading "stuff" from ...


2

In order Artifactory to cache your dependencies, you need to retrieve them from Artifactory. Once you use your virtual repository, which contains the Maven Central remote, Artifactory will download the dependencies from Maven Central and will cache them for the future use. So, here's what you need to do in order to populate Artifactory with your ...


1

You can use Glowroot Glowroot is Open source Java Application Monitor. Very easy to use and Very low overhead. Steps to run: Download and unzip glowroot-0.13.4-dist.zip add -javaagent:path/to/glowroot.jar to your application's JVM args Go to http://localhost:4000 and monitor all this


1

If you want to do "DevOps Engineering" then you should examine the various tools and APIs that you are going to use with the projects that are being planned. For example if you are going to use Jenkins, that's a Java based system you could look at that. If you are going to implement microservices you could look at the framework you are going to use and ...


1

A more generic approach would be use a separate virtualized environment for each project, see virtualization. That could be either: a container image - more lightweight, faster and definitely more popular these days, see containers a virtual machine (VM) image, slower and a bit more heavier to maintain than containers You'd have all the project ...


1

First of all there is one Maven central repository and that is Maven central. The website mvnrepository.com is just a search engine for Maven central. Secondly there is a gazillion of paid services that already scan artifacts for you and allow you to know about known vulnerabilities beforehand. So that problem is already solved. Finally several people who ...


1

I would recommend against importing if at all possible. You can use built-in functionality to achieve the same results. Also be aware of "In-process Script Approval" https://stackoverflow.com/a/42662243/1678094 // GET def get = new URL("https://httpbin.org/get").openConnection(); def getRC = get.getResponseCode(); println(getRC); if(getRC.equals(200)) { ...


1

I got the answer on StackOverflow : You can pass the xml file name as parameter to the maven test command. First need to change the pom file as follows. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> <configuration&...


Only top voted, non community-wiki answers of a minimum length are eligible