Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
01c6547c
Verified
Commit
01c6547c
authored
2 years ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Test the JDK change script
parent
20ce0c1d
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!163
Relase 1.3.0
,
!159
Large update
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
.gitlab/clean.sh
+0
-1
0 additions, 1 deletion
.gitlab/clean.sh
.gitlab/set-java.sh
+6
-0
6 additions, 0 deletions
.gitlab/set-java.sh
with
7 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
0
View file @
01c6547c
...
@@ -2,6 +2,7 @@ before_script:
...
@@ -2,6 +2,7 @@ before_script:
-
"
docker
version"
-
"
docker
version"
-
"
docker
compose
version"
-
"
docker
compose
version"
-
"
docker
system
prune
-f"
-
"
docker
system
prune
-f"
-
"
bash
.gitlab/set-java.sh
17"
-
"
mvn
--version"
-
"
mvn
--version"
-
"
python3
--version"
-
"
python3
--version"
-
"
df
/
-h"
-
"
df
/
-h"
...
...
This diff is collapsed.
Click to expand it.
.gitlab/clean.sh
deleted
100755 → 0
+
0
−
1
View file @
20ce0c1d
#!/bin/bash
This diff is collapsed.
Click to expand it.
.gitlab/set-java.sh
0 → 100755
+
6
−
0
View file @
01c6547c
#!/bin/bash
if
[
"
$1
"
-eq
"17"
]
;
then
echo
'export JAVA_HOME="/usr/lib/jvm/java-17-openjdk/"'
>
~/.mavenrc
elif
[
"
$1
"
-eq
"11"
]
;
then
echo
'export JAVA_HOME="/usr/lib/jvm/java-11-openjdk/"'
>
~/.mavenrc
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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