Skip to content
Snippets Groups Projects

Resolves - Legacy WS: Add CI/CD Pipeline

+ 9
4
@@ -158,13 +158,18 @@ Build Image:
@@ -158,13 +158,18 @@ Build Image:
Build Project:
Build Project:
extends:
extends:
- .java
- .java
 
before_script:
 
- mkdir -p ${DIR}
 
- mv $(ls -1 | grep -v $(basename $(dirname ${DIR}))) ${DIR}/.
 
- pushd ${DIR}
 
- pushd ..
 
- git clone https://code.usgs.gov/ghsc/nshmp/nshmp-haz.git --branch=legacy-main nshmp-haz
 
- popd
script:
script:
# - pushd ..
# - git clone https://code.usgs.gov/ghsc/nshmp/nshmp-haz.git --branch=legacy-main nshmp-haz
# - popd
- env
- ./gradlew assemble
- ./gradlew assemble
stage: build
stage: build
 
variables:
 
DIR: legacy/nshmp-haz-ws
####
####
# Stage: trigger
# Stage: trigger
Loading