You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi All,
I am new to bitbucket pipeline and wanting to run my Selenium functional automated test using the bitbucket infrastructure.
I have a Java based project with Maven as the build management tool. I have tried executing the maven command to run the code on the linux instance but apparently getting Null pointer exception for a resource file as below
java.io.FileNotFoundException: /opt/atlassian/pipelines/agent/build/src/test/resources/testdata/Contact/CreateContact.json (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
I have tried logging in the directory files and but it shows that my files are not cloned in the instance created.
This is the yml file I have created.
The folder name is Case sensitive, "testdata" folder name should be testData.
Refer this - https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/Maven-build-runs-local-but-fails-in-pipeline-with-resource-not/qaq-p/804172
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.