Commit d18b4036 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch '38080-scala-gitlab-ci-template-does-not-work' into 'master'

Resolve "Scala GitLab CI template does not work"

Closes #38080

See merge request gitlab-org/gitlab!30667
parents 1dde1603 7181c323
---
title: Fix GitLab CI/CD Scala template
merge_request: 30667
author:
type: fixed
...@@ -14,7 +14,7 @@ The following `.gitlab-ci.yml` should be added in the root of your ...@@ -14,7 +14,7 @@ The following `.gitlab-ci.yml` should be added in the root of your
repository to trigger CI: repository to trigger CI:
``` yaml ``` yaml
image: java:8 image: openjdk:8
stages: stages:
- test - test
......
# Official Java image. Look for the different tagged releases at # Official OpenJDK Java image. Look for the different tagged releases at
# https://hub.docker.com/r/library/java/tags/ . A Java image is not required # https://hub.docker.com/_/openjdk/ . A Java image is not required
# but an image with a JVM speeds up the build a bit. # but an image with a JVM speeds up the build a bit.
image: java:8 image: openjdk:8
before_script: before_script:
# Enable the usage of sources over https # Enable the usage of sources over https
...@@ -14,7 +14,7 @@ before_script: ...@@ -14,7 +14,7 @@ before_script:
- apt-get update -yqq - apt-get update -yqq
- apt-get install sbt -yqq - apt-get install sbt -yqq
# Log the sbt version # Log the sbt version
- sbt sbt-version - sbt sbtVersion
test: test:
script: script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment