Using the right jdk docker image

Hello,

I am Arun, working as a QA Lead.
I would like to connect my automation scripts to the circleci with the ultimate aim to schedule and execute scripts automatically.

The scripts are written in Selenium/JAVA/Cucumber/Maven format.

My yml file looks like this:

version: 2

jobs:
test_exec:
docker:
- image: circleci/7-jdk/7u111
steps:
- checkout

 - run:
     name: Run test via maven
     command: mvn test

workflows:
version: 2

automated_test:
jobs:
- test_exec:
filters:
branches:
only:
- Master

I am successfully able to connect to the circleci but the build fails.
The error is :


Build-agent version 0.1.1216-48f80d08 (2018-12-07T16:01:40+0000)
Starting container circleci/7-jdk/7u111
image cache not found on this host, downloading circleci/7-jdk/7u111

Error response from daemon: repository circleci/7-jdk/7u111 not found: does not exist or no pull access


My JDK version is jdk1.7.0_80.

Can some one please help me to fix this issue?

When presenting YAML here, please use the Markdown tools available so they are correctly formatted. Would you edit your post now? You can surround your config file with backticks on their own line, like so:

```
config file here
```

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.