All Questions
Tagged with bitbucket-pipelines gradle
29
questions
0
votes
2
answers
101
views
How to make jar from a master jar in gradle?
I want to create a jar file via gradle. I have the java source code located in the folder and one jar file named master.jar i followed this post
[https://stackoverflow.com/questions/67725436/simplest-...
1
vote
1
answer
484
views
SQLite database in CI/CD pipeline of Bitbucket "Unable to open the database file"
In my Spring boot project (Using gradle as build tool), I'm using SQLite database. The database file is located under /db/ directory of project root:
my-project/
- db/
- mydb.db ## This db file ...
0
votes
0
answers
421
views
CDK hash for asset zip keeps changing when code doesn't change
I have a Bitbucket Pipeline that runs gradle build > cdk deploy.
I am using gradle to build and zip a directory of Java code, then using this zip to deploy a lambda function with cdk Java.
Function....
1
vote
1
answer
1k
views
SonarCloud Coverage is always 0% in spring with gradle project on bitbucket pipelines
I'm currently trying to configure a Sonarcloud in my SpringBoot project with gradle and bitbucket-pipelines. But for every PR and every branch it always shows 0% line coverage.
I've added the plugin ...
0
votes
1
answer
515
views
Gradle incremental build on bitbucket multi step pipeline
I cannot make the gradle incremental feature work on a bitbucket pipeline with multiple steps.
What I like to have is:
A step that compile the code
A step that test the code being compiled (without a ...
0
votes
2
answers
2k
views
Build Pipeline on BitBucket for flutter project
I have created pipelines for my android projects on bitbucket which are built great!
I am trying to do the same for my flutter project!
The first time i uploaded it in the bitbucket the project was ...
5
votes
0
answers
6k
views
Unable to list file systems to check whether they can be watched
I've just setup a Bitbucket pipeline to build an Android application in a Docker container ...
but after the build, it fails to mount some unknown directory:
> Task :mobile:lintDebug
Wrote HTML ...
1
vote
0
answers
525
views
Building with Gradle via Bitbucket Pipeline
I have an application that I am attempting to build using Gradle. Currently I am able to build it locally, but would like to have it integrated within a Bitbucket pipeline. The current process ...
1
vote
1
answer
742
views
Bitbucket pipeline for build Gradle
I am working on a Bitbucket pipeline where a zip file gets created using environment variables that are set through a .env file. Before this zip file gets generated usually a .env file is configured ...
0
votes
2
answers
7k
views
Gradle: Could not get unknown property
Already defined the repository variables needed.
This is the Gradle wrapper command in the pipeline
- step:
name: Create Keystores and Google Play API key file
script:
- ...
1
vote
1
answer
1k
views
Bitbucket pipeline not running Chromedriver executable
So I'm running in to an error where I have a simple front end login test to a website using selenium. When I run the test in the bitbucket pipelines I'm running in to this error
java.lang....
1
vote
1
answer
787
views
./gradlew: No such file or directory bitbucket android image
I'm newbie in bitbucket pipeline and I'm following these steps in: https://bitbucket.org/blog/automate-publishing-your-android-application-with-bitbucket-pipelines-and-gradle to deploy using the ...
0
votes
1
answer
2k
views
Artifactory: Failed to persist file; Status code: 404 / Gradle
we facing the same issue as described in Artifactory : java.io.IOException: Failed to deploy file. Status code: 404 Response message when running our deployment via bitbucket pipelines.
This happens ...
10
votes
3
answers
14k
views
"Could not complete execution for Gradle Test Executor 2" error appears after gradle execution on bitbucket pipelines
Tools used:
Java 8
Gradle 4.0
Selenium
Selenium Grid
TestNG
Docker
Bitbucket
Bitbucket pipelines
When I'm executing my tests via bitbucket pipelines I've got these errors:
"Could not complete ...
2
votes
2
answers
3k
views
Bitbucket pipelines could not find Gradle
I created a project with Java 11 and Gradle 6.2. I configured Bitbucket pipelines and pushed changes, but Bitbucket could not find Gradle to run its commands.
I used this pipeline configuration yml:
...