Skip to content
Snippets Groups Projects
Commit e0865d9c authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Update .gitlab-ci.yml

parent 1229ebd7
No related branches found
No related tags found
No related merge requests found
#image: maven:latest image: maven:latest
variables: variables:
LANG: C.UTF-8 LANG: C.UTF-8
...@@ -13,7 +13,7 @@ stages: ...@@ -13,7 +13,7 @@ stages:
build: build:
stage: build stage: build
image: maven:latest #image: maven:latest
script: script:
- mvn clean install -B -DskipTests -Dcheckstyle.fail=false - mvn clean install -B -DskipTests -Dcheckstyle.fail=false
tags: tags:
...@@ -26,7 +26,7 @@ build: ...@@ -26,7 +26,7 @@ build:
tests: tests:
stage: tests stage: tests
image: maven:latest #image: maven:latest
script: script:
- mvn test -B -Dcheckstyle.fail=false - mvn test -B -Dcheckstyle.fail=false
tags: tags:
...@@ -38,7 +38,7 @@ publish: ...@@ -38,7 +38,7 @@ publish:
script: script:
- apt-get update -qq && apt-get install -y -qq lftp - apt-get update -qq && apt-get install -y -qq lftp
- lftp -c "set ftp:ssl-allow no; open -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST; mirror -Rnev $CI_PROJECT_DIR/application/target ./$FTP_TARGET_DIR --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/" - lftp -c "set ftp:ssl-allow no; open -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST; mirror -Rnev $CI_PROJECT_DIR/application/target ./$FTP_TARGET_DIR --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"
- echo $FTP_HOST $FTP_USERNAME $FTP_PASSWORD $FTP_TARGET_DIR $CI_PROJECT_DIR #- echo $FTP_HOST $FTP_USERNAME $FTP_PASSWORD $FTP_TARGET_DIR $CI_PROJECT_DIR
tags: tags:
- shared-fi - shared-fi
# only: # only:
......
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