Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
1feb52ee
Commit
1feb52ee
authored
Apr 23, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make script executable
parent
de705539
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Dockerfile
bin/CI-docker/java/Dockerfile
+4
-5
pull_git.sh
bin/CI-docker/java/pull_git.sh
+0
-0
No files found.
bin/CI-docker/java/Dockerfile
View file @
1feb52ee
...
@@ -2,7 +2,7 @@ FROM maven:3.6.3-jdk-11
...
@@ -2,7 +2,7 @@ FROM maven:3.6.3-jdk-11
MAINTAINER
S. Koulouzis
MAINTAINER
S. Koulouzis
ARG
SONAR_PROPERTIES_FILE=uva-conf.properties
ENV
SONAR_PROPERTIES_FILE=uva-conf.properties
ENV
GIT_URL=https://gitlab.articonf.eu:4430/uva/conf.git
ENV
GIT_URL=https://gitlab.articonf.eu:4430/uva/conf.git
ENV
FOLDER_NAME=conf
ENV
FOLDER_NAME=conf
ENV
BRANCH=develop
ENV
BRANCH=develop
...
@@ -17,8 +17,6 @@ COPY clone_git.sh clone_git.sh
...
@@ -17,8 +17,6 @@ COPY clone_git.sh clone_git.sh
RUN
./clone_git.sh
$BRANCH
$GIT_URL
$FOLDER_NAME
RUN
./clone_git.sh
$BRANCH
$GIT_URL
$FOLDER_NAME
COPY
build.sh build.sh
COPY
build.sh build.sh
RUN
./build.sh
$FOLDER_NAME
RUN
./build.sh
$FOLDER_NAME
RUN
download_dependencies.sh
$FOLDER_NAME
COPY
send_to_sonarqube.sh send_to_sonarqube.sh
COPY
send_to_sonarqube.sh send_to_sonarqube.sh
COPY
${SONAR_PROPERTIES_FILE} ${SONAR_PROPERTIES_FILE}
COPY
${SONAR_PROPERTIES_FILE} ${SONAR_PROPERTIES_FILE}
COPY
pull_git.sh pull_git.sh
COPY
pull_git.sh pull_git.sh
...
@@ -29,5 +27,6 @@ CMD ./pull_git.sh $FOLDER_NAME && \
...
@@ -29,5 +27,6 @@ CMD ./pull_git.sh $FOLDER_NAME && \
# sudo docker build -t java_ci --build-arg SONAR_PROPERTIES_FILE=uva-conf.properties --build-arg GIT_URL=https://gitlab.articonf.eu:4430/uva/conf.git --build-arg FOLDER_NAME=conf --build-arg FOLDER_NAME=develop .
# docker build -t java_ci --build-arg SONAR_PROPERTIES_FILE=uva-conf.properties --build-arg GIT_URL=https://gitlab.articonf.eu:4430/uva/conf.git --build-arg FOLDER_NAME=conf --build-arg FOLDER_NAME=develop .
# docker run -it -e BRANCH=develop -e GIT_URL=https://gitlab.articonf.eu:4430/uva/conf.git -e FOLDER_NAME=conf -e SONAR_HOST=https://sonar.articonf.eu/ -e SONAR_LOGIN= -e SONAR_PROPERTIES_FILE=uva-conf.properties -e FOLDER_NAME=conf java_ci
# docker run -it java_ci
bin/CI-docker/java/pull_git.sh
100644 → 100755
View file @
1feb52ee
File mode changed from 100644 to 100755
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment