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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,791
Community Members
 
Community Events
176
Community Groups

How to setup java 11 for the heroku pipline

Hey you guys,

 

Anyone know how to setup jdk 11 for the heroku deployment?

I tried this configuration:

```

pipelines:
default:
- step:
name: Build and test
image: maven:3-jdk-11
caches:
- maven
script:
- mvn -B clean verify -DskipTests
- step:
name: Create artifact
script:
- tar czfv application.tgz pom.xml src/ lib/
artifacts:
- application.tgz
- step:
name: Deploy to production
deployment: production
script:
- pipe: atlassian/heroku-deploy:0.1.1
variables:
HEROKU_API_KEY: $HEROKU_API_KEY
HEROKU_APP_NAME: $HEROKU_APP_NAME
ZIP_FILE: "application.tgz"
```

2 comments

I solved this by adding system.properties file:

 

tar czfv application.tgz pom.xml system.properties src/ lib/

How would that configuration be with gradle?

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events