This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
41
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
11fcf7a2
Commit
11fcf7a2
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
testing
parent
e989c4b9
Branches
Branches containing commit
5 merge requests
!132
Bringing July Release to production
,
!128
Fixing #315 and #319
,
!126
Continous Deployment with E2E Tests
,
!125
Publish docker image
,
!119
Publish docker image
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
src/main/docker/gitlabCI/customJHipster/Dockerfile
+1
-5
1 addition, 5 deletions
src/main/docker/gitlabCI/customJHipster/Dockerfile
with
8 additions
and
7 deletions
.gitlab-ci.yml
+
7
−
2
View file @
11fcf7a2
...
...
@@ -5,6 +5,7 @@ cache: &global_cache
paths
:
-
.maven/
-
.npm/
-
pmd-bin-6.40.0.zip
policy
:
pull-push
stages
:
...
...
@@ -29,13 +30,17 @@ pmdCheckstylePrettierLint:
policy
:
pull
when
:
always
script
:
-
'
export
VERSION="6.40.0"'
-
'
wget
"https://github.com/pmd/pmd/releases/download/pmd_releases%2F$VERSION/pmd-bin-$VERSION.zip"'
-
'
jar
-xf
"pmd-bin-$VERSION.zip"'
-
'
chmod
u+x
"pmd-bin-$VERSION/bin/run.sh"'
-
SUCCESS=true
-
echo "Running PMD"
-
ls -a
-
pmd -d src/main/java -f textcolor -R pmd_rules.xml 2>&1 | tee pmd.log || SUCCESS=false
-
'
"pmd-bin-$VERSION/bin/run.sh"
pmd
-d
src/main/java
-f
textcolor
-R
pmd_rules.xml
2>&1
|
tee
pmd.log
||
SUCCESS=false'
-
echo "Running checkstyle"
-
./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME || SUCCESS=false
-
echo "Running prettier"
-
npm install
-
npm run prettier:check
-
echo "Running eslint"
-
'
npm
run
lint
|
tee
lint.log'
...
...
This diff is collapsed.
Click to expand it.
src/main/docker/gitlabCI/customJHipster/Dockerfile
+
1
−
5
View file @
11fcf7a2
...
...
@@ -4,8 +4,4 @@ USER root
ARG
VERSION=6.40.0
RUN
apt update
&&
apt
install
-y
default-jre xvfb zip wget ca-certificates libnss3-dev libasound2 libxss1 libappindicator3-1 libindicator7 gconf-service libgconf-2-4 libpango1.0-0 xdg-utils fonts-liberation libgbm1 bash curl unzip
RUN
curl
-L
-o
pmd-bin-
${
VERSION
}
.zip https://github.com/pmd/pmd/releases/download/pmd_releases%2F
${
VERSION
}
/pmd-bin-
${
VERSION
}
.zip
&&
\
unzip pmd-bin-
${
VERSION
}
.zip
&&
\
rm
pmd-bin-
${
VERSION
}
.zip
&&
mv
pmd-bin-
${
VERSION
}
/ /pmd
WORKDIR
/pmd
\ No newline at end of file
RUN
apt update
&&
apt
install
-y
default-jre xvfb zip wget ca-certificates libnss3-dev libasound2 libxss1 libappindicator3-1 libindicator7 gconf-service libgconf-2-4 libpango1.0-0 xdg-utils fonts-liberation libgbm1 bash
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment