All Questions
758
questions
0
votes
0
answers
26
views
Git Informations from jenkins to gradle
I have a Gradle project and a jenkins pipeline. in the pipeline we first checkout and then build the backend and the frontend. after it is finished we deploy it. Now i have a question. i can see in ...
0
votes
0
answers
21
views
How to configure two cucumber runner files in jenkins file
As we know when any feature file failed we are storing in a text file. To run that failed.txt file we are using 2nd runner file. If we run second runner file it is executing the failed one only.
Is ...
0
votes
0
answers
30
views
Jenkins: Gradle unable to connect to MariaDB despite successful setup in Jenkins pipeline
(This is my first ever question, if anyone needs more info please comment)
This is for a school thing, but I've been utterly stuck on this problem for weeks and no-one I know seems to be able to solve ...
0
votes
0
answers
26
views
Gradle Build Failing due to Environment Variables
I'm currently testing my DSL scripts using gradle based on this example.
https://github.com/jenkinsci/job-dsl-plugin/wiki/Testing-DSL-Scripts
But build is failing for groovy scripts that has ...
0
votes
0
answers
168
views
Paparazzi file not found exception
I have a few tests, we wrote with com.cash.paparazzi
And everything works well on my local machine and another local machines. But on CI, after verify gradle task:
./gradlew verifyPaparazziDebug --...
0
votes
1
answer
702
views
Gradlew Permission denied when using Jenkinsfile
When executing gradle-commands from the Jenkinsfile, an issue occurs which states that permission to use gradlew is denied.
I have Jenkins running on a docker container.
Running the ./gradlew clean ...
0
votes
0
answers
73
views
No tests found for given includes in Jenkins
I facing issue No tests found for given includes: [**/*Test*](include rules) in jenkins.
On my local when I run the test cases through IntelliJ Idea, they are running fine.
I check for below ...
0
votes
1
answer
52
views
How Do I Pass An Environmental Variable URL String To Gradle Task In Jenkins?
Question: How do I pass an environment variable to a gradle task in Jenkins? Need assistance with step 3 in 'How My Jenkins Job Works'
Research I've done:
How Do I Set Environment Variable In Gradle ...
1
vote
1
answer
180
views
From nebula 17 to 18.0.4 GRGIT stopped working in jenkins context
in gradle nebula plugin 17.2.1 the code below works
using 18.0.4 it does not and fails with org.gradle.api.GradleException: fatal: could not read Username for 'https://github.com': No such device or ...
0
votes
0
answers
87
views
Jenkins Artifactory plugin publishes only one part of multiproject repository
first question here, so please go easy on me. :)
I am in the process of upgrading our companies Jenkins server. During that I am also upgrading the different plugins we are using.
The first project I ...
0
votes
0
answers
44
views
Why is Jenkins using the wrong curl binary from gradle?
I have a Windows Jenkins agent where a job is invoking the curl command from gradle.
The build agent has two different curl binaries, the one included in Windows at
C:\Windows\System32\curl.exe
and ...
0
votes
1
answer
299
views
Jenkins build failing java.io.IOException: Cannot run program error=13, Permission denied
I have a jenkins pipeline where i am trying to run a gradle test and it has a .sh file which the test needs to run. While running the test it fails at the step where it tries to run .sh file with the ...
2
votes
1
answer
93
views
compileTestJava failing after gradle upgrade
The history of the issue is that everything used to work fine before upgrading to gradle 8 and then it started to fail with:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Unrecognized VM option '...
0
votes
1
answer
62
views
Optimizing Android Build in Jenkins
Currently we have an android build automation run in Jenkins, the current implementation is to run a clean build every time. But as the project grows, we experienced a very long build time since doing ...
-1
votes
1
answer
60
views
add sonarqube to jenkings without add dependency in build.gradle and do that with commandline
I wana don't add sonar in build.gradle and before running the job of sonarqube add the plugin and to that in ci and after that run the script