Gradle project problem

I’m trying to scan gradle project. I’m using autogenerated yaml file:

sonarqube-check:
  image: jdk-11.0.3.jdk
  variables:
    SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"  # Defines the location of the analysis task cache
    GIT_DEPTH: "0"  # Tells git to fetch all the branches of the project, required by the analysis task
  cache:
    key: "${CI_JOB_NAME}"
    paths:
      - .sonar/cache
  script: 
    - cd engine
    - gradle sonarqube
  allow_failure: true
  only:
    - release-in # or the name of your main branch

I can’t handle with this error:

 Using Docker executor with image jdk-11.0.3.jdk ...
 Pulling docker image jdk-11.0.3.jdk ...
WARNING: Failed to pull image with policy "always": Error response from daemon: pull access denied for jdk-11.0.3.jdk, repository does not exist or may require 'docker login': denied: requested access to the resource is denied (manager.go:205:1s)
 ERROR: Job failed (system failure): failed to pull image "jdk-11.0.3.jdk" with specified policies [always]: Error response from daemon: pull access denied for jdk-11.0.3.jdk, repository does not exist or may require 'docker login': denied: requested access to the resource is denied (manager.go:205:1s)

But in other projects I don’t have this problem

Based on the YAML syntax it looks like this is for GitLab?

Try following the examples from our GitLab docs rather than using whatever tool auto generated this template for you.

I did, that’s why I can’t understand why I have this error on line with image

Our documented example doesn’t use this JDK 11 image you’re getting the error on:

sonarqube-check:
  image: gradle:jre11-slim