Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [java]

The tag has no usage guidance.

-1
votes
1answer
67 views
+50

Jenkins executes Selenium test in headless mode while use `Jenkins as Service`

I have recently installed the Jenkins on Windows 10 Machine (Jenkins as Service) and configured one Maven Project (Selenium project which open chrome browser and executes some testcase). If i build ...
0
votes
0answers
11 views

Docker build not picking up built jar?

I am new to the DevOps world but I am trying to build a pipeline using Jenkins and Docker. I have Jenkins building the docker image by: docker build -f Dockerfile --build-arg jenkins_jar_file=${...
0
votes
0answers
23 views

Jenkins Fatal Exception

I have installed my jenkins on Linux machine with 2.73.1 version. Now my most of the jobs are getting failed due to same reason. AU bin/jobs/Sync.class A .settings A ....
0
votes
0answers
67 views

Mono Repo Structure with Codegen and CI

I would like to create a monorepo example as a demo for my boss with several frontend and backend projects. Currently we have mostly Spring APIs and Angular on the front-end. We are using Swagger-...
0
votes
1answer
28 views

Java ReST service running on docker but not accessible

I am new to Docker Docker version 18.03.0-ce, build 0520e24 running on RHEL 7. I created a simple ReST service using the Spring tutorial. The uber jar runs fine on my windows machine and I am able ...
0
votes
0answers
28 views

how to determine java heep size on kafka machines

we have Hadoop cluster ( version 2.6.4 ) with 3 physical kafka machines we want to know what is the values of Xmx and Xms that we need to allocate on the kafka machines in order to setup the the Xmx ...
1
vote
1answer
125 views

How to change Xmx settings for sonar runner?

This Question has been answered on Stackoverflow, the below answer is partly correct but cannot be accepted due to a pending review. I have a Sonarqube instance running as a docker container. Since I ...
3
votes
2answers
42 views

Best way to isolate programming projects?

Not sure if this is the best place for the question but I have multiple development projects with different dependencies.. I want to know what the best practice is to isolate each project? I have ...
3
votes
2answers
59 views

Mitigating Maven Central risks as seen from the DevSecOps perspective

AFAIK there are two official primary repositories for Maven packages (Java language): search.maven.org offered by Sonatype Inc. mvnrepository.com offered by a private person @frodriguez Now ...
0
votes
1answer
154 views

Compatibility of http-builder-ng Groovy module with Jenkins 2

Did somebody had a chance to use http-builder-ng Groovy module in Jenkins pipeline? When I use this module with any kind of request/URL it always returns me null object when the same source code ...
1
vote
0answers
60 views

Security practice for storing private keys for use by Java Applications

We have a multi-tiered application hosted on Microsoft Azure Virtual Machine Scale Sets composed of: Websites (Sprint Boot) API (Sprint Boot) ForgeRock Access Management (Tomcat) ForgeRock Identity ...
1
vote
0answers
111 views

Install Java 9 headless on Docker/Ubuntu - Java 8 EOL - ppa:webupd8team/java package not up to date [closed]

Many available Docker installations use the package oracle-java8-installer either oracle-java9-installer. They both seem to link to recently obsolete Oracle URLs: using default oracle-java9-...
2
votes
1answer
252 views

Is it possible to run every testing.xml file with different jenkins job?

I've around 100 test method in my testing.xml file. and that testing.xml configured in pom.xml file so I'm able to run my all those testcase as maven test and I'm getting the proper reports and all. ...
3
votes
1answer
213 views

org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: remote file operation failed

I've the following error in Jenkins console when running job which uses Windows slave: Started by user [EnvInject] - Loading node environment variables. ERROR: SEVERE ERROR occurs org.jenkinsci....
1
vote
0answers
422 views

How to generate a Maven.pom file (not pom.xml)?

This seems not so easy to google because results about the normal pom.xml are overwhelming. So, I just have learned there are also Maven artefact related files with .pom extension. This seems to be ...