Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jessica Hawkwell
/
lang-toolkit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 55eab287
authored
Jul 08, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding GitLab CI configuration
1 parent
782f0f36
Pipeline
#185
passed
in 2 minutes 39 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
15 deletions
.gitlab-ci.yml
pom.xml
.gitlab-ci.yml
0 → 100644
View file @
55eab28
image
:
registry.felinewith.me/dockerhelper/maven:master
variables
:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
MAVEN_OPTS
:
"
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true"
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line.
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--show-version"
stages
:
-
compile
-
deploy
compile
:
stage
:
compile
script
:
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile test
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS package
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS install
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS deploy
pages
:
stage
:
deploy
script
:
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS test
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS site
-
mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS site:stage
-
mv target/staging public
artifacts
:
paths
:
-
public
only
:
-
master
pom.xml
View file @
55eab28
...
...
@@ -212,10 +212,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-site-plugin
</artifactId>
</plugin>
</plugins>
<!-- MAVEN BUILD DEPENDENCIES ************************************************************* MAVEN BUILD DEPENDENCIES -->
...
...
@@ -286,17 +282,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-site-plugin
</artifactId>
<version>
3.6
</version>
<executions>
<execution>
<id>
attach-site
</id>
<configuration>
<classifier>
site
</classifier>
</configuration>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment