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

Does app engine pipe 1.6.0 have support for Java 17 and/or 21?

Bruce Wilcox
Contributor
June 5, 2024

If yes, what docker image is available?

I need a successor to 

 

maven:3.8.3-openjdk-11

 

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 7, 2024

Hi @Bruce Wilcox . According to gcloud app deploy Java17 and 21 versions are supported.

google-app-engine-deploy pipe based on google/cloud-sdk:473.0.0, where:

There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-11-openjdk-amd64/bin/java

Regards, Igor

Bruce Wilcox
Contributor
June 21, 2024

My question has to do with what docker image will work.

```

image: maven:3.8.3-openjdk-11
pipelines:
branches:
master:
- step:
caches:
- maven
image: maven:3.8.3-openjdk-11
name: Build, stage, and deploy App Engine content
deployment: production
script:
- python3 --version
- mvn --define skipTests=true --activate-profiles useItips --settings settings.xml install appengine:stage
- ls -la target/appengine-staging/app.yaml
- cat target/appengine-staging/app.yaml
- pipe: atlassian/google-app-engine-deploy:1.6.0
variables:
KEY_FILE: ${XXXX_SERVICE_ACCOUNT_KEY}
PROJECT: 'XXXX'
DEPLOYABLES: 'target/appengine-staging/app.yaml'
VERSION: 'XXXX-${BITBUCKET_BUILD_NUMBER}'
PROMOTE: 'true'
STOP_PREVIOUS_VERSION: 'true'
EXTRA_ARGS: '--verbosity=debug'

```

I want to replace `maven:3.8.3-openjdk-11`  with `maven:3.8.3-openjdk-17` or some such but cannot find an image that contains Java 17, Python 3, and Maven.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events