All Questions
3,794
questions
0
votes
0
answers
27
views
jenkins selenium project windows installer
I'm running Jenkins in the Windows installer Test cases are running without opening the browser but test cases are running
Browser: chrome
Starting ChromeDriver 125.0.6422.78 (...
0
votes
1
answer
84
views
Using Jenkins build a Maven project , the artifact is not latest
I use Jenkins to build a Maven Project.
Jenkins pull the lastest code from Gitlab (show on the console. I confirm it is.) ,but the build artifact is not lastest(i got a wrong JAR at target directory).
...
0
votes
0
answers
50
views
Jenkins build is failing, After upgrading spring boot version from 3.0.0 to 3.3.0
[click here for logs screenshot][2]
Upgraded spring boot version to 3.3.0
maven-surefire-plugin - 3.2.5
Maven-failsafe-plugin - 3.2.5
Jacoco-maven-plugin- 0.8.11
Upgraded these maven related plugins ...
0
votes
0
answers
59
views
Passing a password securely as an maven argument from jenkins
I'm running a job in jenkins that is taking password argument and passing it in a pipeline to start a maven process with that given password argument. That is obviously not very secure way of handling ...
0
votes
0
answers
37
views
How to maven build in offline jenkins server?
(I’m not good at English, so I used a translator. I’m sorry.)
This is an offline Jenkins+JDK+Maven environment.
I am trying to do a Maven build and have installed the necessary plugins manually.
...
0
votes
0
answers
11
views
Jenkins job runs infinite after mvn install
i have created a pipeline job in Jenkins where i use the following Jenkinsfile:
def remote=[:]
remote.name = 'ec2-user'
remote.host = '3.85.186.135'
remote.allowAnyHosts = true
pipeline {
agent ...
0
votes
1
answer
71
views
Take maven spring profile from jenkins pipeline
I have a problem with a jenkins pipeline on a maven spring boot project using spring profiles.
This is the pom.xml:
<profiles>
<profile>
<id>dev</id>
<...
0
votes
0
answers
48
views
How to change the severity level in SpotBug (Jenkins)?
I'm using Jenkins with a maven spotbug plugin and certains "bugs" are listed as low, for example some MALICIOUS_CODE category and I found that classification too gentle.. Maybe it being &...
0
votes
0
answers
43
views
Is there a way to get environment variable from command line in gauge
I am running gauge tests on jenkins job by running following command :
mvn gauge:execute
It works fine but we have a requirement to run gauge for every feature branch environment, here I need to pass ...
0
votes
0
answers
40
views
How to disable Jenkins JaCoCo plugin publisher
I have multiple test stages in my Jenkins pipeline that require jacoco:prepare-agent goal of JaCoCo maven plugin to run, but the actual report and coverage results (for plot) need to be generated only ...
0
votes
1
answer
61
views
Error- org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project ABC: Exception in provider: java/sql/Date: java.sql.Date
Error 1 - org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project ABC: Exception in provider: java/sql/Date: java.sql.Date
Error 2 - 4144777 [pool-1-thread-1 for channel ...
1
vote
1
answer
134
views
Maven Deploy Command skips Deployment Silently
I have a typical java project and I try to upload it to nexus with mvn deploy command.
When I run it with mvn -X clean deploy -Dmaven.deploy.skip=false, it shows in log:
[DEBUG] (f) ...
0
votes
0
answers
46
views
Artifact not getting deployed in JFrog Articatory
The artifact is not getting deployed in the artifactory.
The console logs are shown as below:
[BuilderThread 0] DEBUG org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipsePluginManager - (f) ...
0
votes
0
answers
24
views
Create Jenkins Build Job to Package only selected classes to .war file
I'm currently setting up a Jenkins build job for my Maven project, and I need some guidance on how to configure it to package only specific classes. Here's the scenario:
I have a large Maven project ...
0
votes
1
answer
264
views
Jenkins fails to run test with Maven and Java 21
I'm trying to run mvn test in Jenkins when code is pushed to git repo.
When I build tests in Jenkins, it gives me this:
Parsing POMs
Established TCP socket on 41593
[Java App] $ java -cp /var/...