Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
702
HADOOP
tar
Commits
f39d88fc
Commit
f39d88fc
authored
Oct 14, 2021
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
GitLab CI
parent
f2ae50e9
No related branches found
No related tags found
No related merge requests found
Pipeline
#759
passed
Oct 14, 2021
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
pom.xml
+3
-0
3 additions, 0 deletions
pom.xml
with
31 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
28
−
0
View file @
f39d88fc
image
:
name
:
debian:buster
before_script
:
-
apt-get update -qq
-
apt-get install -y --no-install-recommends default-jdk-headless maven
cache
:
paths
:
-
.m2/repository
variables
:
MAVEN_OPTS
:
-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true
MAVEN_CLI_OPTS
:
--batch-mode --errors -DinstallAtEnd=true -DdeployAtEnd=true
build
:
script
:
-
>
if [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" -o -n "$CI_COMMIT_TAG" ]; then
mvn $MAVEN_CLI_OPTS deploy -s $CI_SETTINGS;
else
mvn $MAVEN_CLI_OPTS verify -s $CI_SETTINGS;
fi
artifacts
:
paths
:
-
pom.xml
-
target/*.jar
-
target/maven-archiver/*.properties
This diff is collapsed.
Click to expand it.
pom.xml
+
3
−
0
View file @
f39d88fc
...
@@ -69,6 +69,9 @@
...
@@ -69,6 +69,9 @@
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.8.1
</version>
<version>
3.8.1
</version>
<configuration>
<configuration>
<compilerArguments>
<Xlint:all
/>
</compilerArguments>
<source>
${project.source.version}
</source>
<source>
${project.source.version}
</source>
<target>
${project.target.version}
</target>
<target>
${project.target.version}
</target>
</configuration>
</configuration>
...
...
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