Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipeline requiring mvn java node and yarn

Kedar Kulkarni April 10, 2020

I have a single sprinboot jar which also includes a SPA Angular frontend. To build this I need mvn java node and yarn

I have setup mvn and java using image. How can I also setup env to have node?

# This is a sample build configuration for Java (Maven).
# Check our guides at https://confluence.atlassian.com/x/zd-5Mw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: maven:3.6.1-jdk-8
pipelines:
branches:
release/prod-release:
- step:
caches:
- maven
- node
script: # Modify the commands below to build your repository.
- apt install nodejs
- echo "Running.. verifying"
- node -v
- npm install -g yarn
- mvn clean install -Pfront

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events