diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 321a4629cce6c746cfb3251263fe3fe30336a3d5..7fd01c7c6b9a98d2c48c56ce87c4e615c65f8700 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,7 +124,8 @@ docker-push: REGISTRY_URL: sharing-codeability.uibk.ac.at:5051 IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform script: - - ./mvnw package -Pprod clean verify jib:build -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME + - npm install + - ./mvnw package -Pprod -D.skip.install-node-and-npm verify -DskipTests jib:build -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME when: on_success before_script: - shopt -s dotglob