I defined start_selenium like this
start_selenium: &start_selenium name: Download & Run Selenium Stand alone Server command: | curl -O https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar java -jar selenium-server-standalone-3.141.59.jar -log selenium.log java --version background: true
And also jobs like this
jobs: docker: - image: cimg/openjdk:16.0.0 steps: - run: *start_selenium
But the problem is start_selenium runs before docker image is ready and it says 'java' command is not defined.
没有评论:
发表评论