All Questions
Tagged with bitbucket-pipelines java
34
questions
0
votes
0
answers
56
views
Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome
Im trying to install chromium and run the test cases using the bitbucket pipeline
The below is my pipeline
image: mcr.microsoft.com/playwright/java:v1.33.0-focal
pipelines:
default:
- step:
...
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-...
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....
0
votes
0
answers
164
views
Bitbucket Pipeline - Applications not found
I have a Bitbucket pipeline with the aim to deploy a built jar file to a Spring Boot server.
The first step to maven build the jar file completes successfully, however the second step that copies the ...
0
votes
1
answer
227
views
Getting error running Bitbucket pipeline for deploying to AWS Cloudformation
I am trying to deploy to AWS Cloud Formation using the script. I am using the values present in samconfig.toml. I am able to build it locally but it fails in bitbucket pipeline.
step:
name: ...
1
vote
0
answers
113
views
Error: "tag does not exist" when using maven release:perform to push container to ACR in bitbucket pipelines
I have used Quarkus and bitbucket pipelines for more than 2 years and it normally functions very well. From Quarkus version 2.15 I got a problem when pushing the tag/container to Azure Container ...
1
vote
1
answer
1k
views
Spring Boot Bitbucket Pilpline to ECR
I try to build a CI/CD Pipeline with Bitbucket-Pipelines.
My dockerized Spring Boot Application should be pushed to my AWS ECR. But when the pipeline executes the docker commands it throws an error:
...
4
votes
1
answer
4k
views
Get the version from pom.xml from a Java Maven project in Bitbucket pipeline
Is there a way to get the version defined in the pom.xml file so it can be used with a variable in a Bitbucket pipeline?
There are similar questions here on StackOverflow but they mostly refer to ...
3
votes
3
answers
12k
views
Run SonarScanner analysis with Java 11, run target code with Java 8
As the following announcement points out, SonarSource ended support to run code Analyzers with pre-11 Java versions:
January 2021 - Move analysis to Java 11
The version of Java installed in the ...
1
vote
1
answer
8k
views
Failed to execute sonar-maven-plugin:3.7.0.1746 on project Project_Name
I have build maven project using java 8 and doing all the pipeline and authentication configuration with Bit-bucket n Maven, but still getting this issue.
Failed to execute goal
org.sonarsource....
2
votes
0
answers
3k
views
Container startup failed: Using Testcontainers Localstack 1.15.0-rc2 with Maven/Spring Boot in Integration test on Bitbucket Pipelines
Error running Testcontainers Localstack(https://mvnrepository.com/artifact/org.testcontainers/localstack/1.15.0-rc2) in Spring Boot Integration test.
It runs fine locally but then fails on Bitbucket ...
0
votes
1
answer
656
views
Bitbucket to Google App Engine Deployment failed - ERROR: (gcloud.app.deploy) [/opt/atlassian/pipelines/agent/build/app.yaml] does not exist
I am trying to deploy a spring boot microservices application to Google App Engine from Bitbucket Pipelines. I am getting this below error after commiting the code,
INFO: Setting up environment.
echo &...
0
votes
1
answer
523
views
Unable to locate elements via Selenium if ran via Bitbucket pipeline
I am currently working on integration tests in Selenium. I have some testset, which tests presence of webelements and their behaviour. Everything works perfectly if I run these tests on my local ...
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
1
answer
2k
views
Testcontainer issue with Bitbucket pipelines
I configured bitbucket-pipelines.yml and used image: gradle:6.3.0-jdk11. My project built on Java11 and Gradle 6.3. Everything was Ok till starting test cases. Because I used Testontainers to test the ...