Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to have java image and node image together

Manjunatha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2020

Hello Guys,

In pipelines, I'm trying to run a shell script from node, and that shell script requires Jre, as the shell script runs static pmd analysis and it is looking for JAVA path. I'm really not sure how to do this. 

1 answer

1 accepted

0 votes
Answer accepted
Manjunatha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2020

Never mind  it can be solved by using default images of bitbucket.

 

image: 
name: atlassian/default-image:2
pipelines:
default:
-
step:
script: # Modify the commands below to build your repository.
-
npm install
-
npm test
artifacts: # defining the artifacts to be passed to each future step.
-
reports/*.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events