Skip to content
Snippets Groups Projects
Commit 5a23c24a authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

cleanup

parent d206dac5
No related branches found
No related tags found
1 merge request!40Update Pipelines
...@@ -110,7 +110,9 @@ Build Image: ...@@ -110,7 +110,9 @@ Build Image:
- .build - .build
variables: variables:
DOCKER_BUILD_ARGS: | DOCKER_BUILD_ARGS: |
ci_job_token="${CI_JOB_TOKEN}" BUILD_IMAGE=${DEVOPS_REGISTRY}usgs/java:11
FROM_IMAGE=${DEVOPS_REGISTRY}usgs/java:11
ci_job_token=${CI_JOB_TOKEN}
Unit Tests: Unit Tests:
extends: extends:
......
...@@ -39,7 +39,7 @@ COPY settings.gradle . ...@@ -39,7 +39,7 @@ COPY settings.gradle .
COPY src src COPY src src
COPY openapi.properties . COPY openapi.properties .
RUN ./gradlew --no-daemon assemble \ RUN ./gradlew assemble \
&& mv ${libs_dir}/*-all.jar ${jar_file} && mv ${libs_dir}/*-all.jar ${jar_file}
#### ####
......
...@@ -34,7 +34,7 @@ repositories { ...@@ -34,7 +34,7 @@ repositories {
maven { maven {
url "https://code.usgs.gov/api/v4/groups/160/-/packages/maven" url "https://code.usgs.gov/api/v4/groups/160/-/packages/maven"
name "GitLab" name "GitLab"
if (System.getenv('CI_JOB_TOKEN')) { if (System.getenv("CI_JOB_TOKEN") != null) {
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
name = 'Job-Token' name = 'Job-Token'
value = System.getenv("CI_JOB_TOKEN") value = System.getenv("CI_JOB_TOKEN")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment