Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
sarah.grebing
ProofScriptParser
Commits
991c3b45
Commit
991c3b45
authored
Feb 13, 2018
by
Alexander Weigl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new ci file
parent
28c13f04
Pipeline
#18632
failed with stages
in 2 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
38 deletions
+52
-38
.gitlab-ci.yml
.gitlab-ci.yml
+52
-38
No files found.
.gitlab-ci.yml
View file @
991c3b45
image
:
key-ant-openjdk-8:latest
# This is the Gradle build system for JVM applications
# https://gradle.org/
# https://github.com/gradle/gradle
image
:
key-dev-jdk8
cache
:
cache
:
paths
:
paths
:
-
.m2/
-
.m2/
-
.gradle/
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
# isolated from any previous builds.
variables
:
GRADLE_OPTS
:
"
-Dorg.gradle.daemon=false"
before_script
:
-
export GRADLE_USER_HOME=`pwd`/.gradle
variables
:
variables
:
MAVEN_OPTS
:
>-
-Dmaven.repo.local=${CI_PROJECT_DIR}/.m2
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
GIT_SSL_NO_VERIFY
:
"
true"
GIT_SSL_NO_VERIFY
:
"
true"
stages
:
stages
:
-
setup
-
build
-
build
-
test
-
test
-
deploy
-
deploy
setup
:
build:jdk9:
stage
:
setup
script
:
-
COMPONENTS=keydeps/lib/components/
-
GID=key-project-psdbg
-
V=2.7-SNAPSHOT
-
mvn install:install-file -Dfile=$COMPONENTS/key.core.jar -DartifactId=key.core -DgroupId=$GID -Dversion=$V -Dpackaging=jar
-
mvn install:install-file -Dfile=$COMPONENTS/key.ui.jar -DartifactId=key.ui -DgroupId=$GID -Dversion=$V -Dpackaging=jar
-
mvn install:install-file -Dfile=$COMPONENTS/key.util.jar -DartifactId=key.util -DgroupId=$GID -Dversion=$V -Dpackaging=jar
-
mvn install:install-file -Dfile=$COMPONENTS/../libs/recoderKey.jar -DartifactId=recoder -DgroupId=$GID -Dversion=2.7 -Dpackaging=jar
build
:
stage
:
build
stage
:
build
script
:
"
mvn
compile
-B
-T
2"
image
:
key-dev-jdk9
script
:
gradle --build-cache assemble
allow_failure
:
true
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
push
paths
:
-
build
-
.gradle
build:jdk8:
stage
:
build
script
:
gradle --build-cache assemble
image
:
key-dev-jdk8
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
push
paths
:
-
build
-
.gradle
test
:
test
:
stage
:
test
stage
:
test
script
:
"
mvn
test
-B"
script
:
gradle check
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
pull
paths
:
-
build
-
.gradle
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
script
:
script
:
gradle distJar
-
"
mvn
package
-DperformRelease=true
-DcreateChecksum=true
-DskipTests=true
-B"
cache
:
artifacts
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
pull
paths
:
paths
:
-
"
*/target/*.jar"
-
build
allow_failure
:
true
-
.gradle
sonar
:
stage
:
deploy
script
:
-
"
mvn
org.jacoco:jacoco-maven-plugin:prepare-agent
package
sonar:sonar
-Dsonar.organization=wadoon-github
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.login=3441b7b4ade9f61b61b75322893d084c51d8acc3"
allow_failure
:
true
site
:
stage
:
deploy
script
:
-
"
mvn
site:site
-DskipTests=true
-B"
artifacts
:
artifacts
:
paths
:
paths
:
-
"
*/target/site/*"
-
"
build/libs/*.jar"
allow_failure
:
true
allow_failure
:
true
\ No newline at end of file
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