Commit f1aee637 by Jessica Hawkwell

Fixing broken yml

1 parent cf5d28ff
Pipeline #101 failed
in 2 seconds
Showing with 17 additions and 17 deletions
...@@ -33,18 +33,18 @@ variables: ...@@ -33,18 +33,18 @@ variables:
.validate: &validate .validate: &validate
stage: build stage: build
script: script:
- env - env
- 'mvn $MAVEN_CLI_OPTS test-compile' - 'mvn $MAVEN_CLI_OPTS test-compile'
# For merge requests do not `deploy` but only run `verify`. # For merge requests do not `deploy` but only run `verify`.
# See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html # See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
.verify: &verify .verify: &verify
stage: test stage: test
script: script:
- env - env
- 'mvn $MAVEN_CLI_OPTS verify site site:stage' - 'mvn $MAVEN_CLI_OPTS verify site site:stage'
except: except:
- master - master
# Validate merge requests using JDK8 # Validate merge requests using JDK8
validate:jdk8: validate:jdk8:
...@@ -66,14 +66,14 @@ deploy:jdk8: ...@@ -66,14 +66,14 @@ deploy:jdk8:
# Use stage test here, so the pages job may later pickup the created site. # Use stage test here, so the pages job may later pickup the created site.
stage: test stage: test
script: script:
- env - env
- 'mvn $MAVEN_CLI_OPTS deploy site site:stage' - 'mvn $MAVEN_CLI_OPTS deploy site site:stage'
only: only:
- master - master
# Archive up the built documentation site. # Archive up the built documentation site.
artifacts: artifacts:
paths: paths:
- target/staging - target/staging
image: maven:3.3.9-jdk-8 image: maven:3.3.9-jdk-8
...@@ -81,14 +81,14 @@ pages: ...@@ -81,14 +81,14 @@ pages:
image: busybox:latest image: busybox:latest
stage: deploy stage: deploy
script: script:
# Because Maven appends the artifactId automatically to the staging path if you did define a parent pom, # Because Maven appends the artifactId automatically to the staging path if you did define a parent pom,
# you might need to use `mv target/staging/YOUR_ARTIFACT_ID public` instead. # you might need to use `mv target/staging/YOUR_ARTIFACT_ID public` instead.
- mv target/staging public - mv target/staging public
dependencies: dependencies:
- deploy:jdk8 - deploy:jdk8
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - master
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!