Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rosjava Bootstrap Gradle
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CeTI
ROS
ROS Java Packages
Rosjava Bootstrap Gradle
Commits
a893e8e7
Commit
a893e8e7
authored
3 years ago
by
Sebastian Ebert
Browse files
Options
Downloads
Patches
Plain Diff
added ci
parent
3b086190
No related branches found
No related tags found
No related merge requests found
Pipeline
#12117
failed
3 years ago
Stage: build
Stage: publish
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+35
-0
35 additions, 0 deletions
.gitlab-ci.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
build.gradle
+22
-26
22 additions, 26 deletions
build.gradle
with
58 additions
and
27 deletions
.gitlab-ci.yml
0 → 100644
+
35
−
0
View file @
a893e8e7
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
GIT_DEPTH
:
1000
stages
:
-
build
-
publish
cache
:
paths
:
-
.gradle/wrapper
-
.gradle/caches
build
:
image
:
maven:3-jdk-8
stage
:
build
script
:
-
./gradlew --console=plain --no-daemon assemble jar
artifacts
:
paths
:
-
"
message_generation/build/libs"
expire_in
:
1 week
publish
:
image
:
maven:3-jdk-8
stage
:
publish
needs
:
-
build
script
:
-
"
./gradlew
publish"
only
:
-
main
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
a893e8e7
See
[
rosjava_core
](
https://git
hub.com
/rosjava/rosjava
_
core
)
readme.
See
[
rosjava_core
](
https://git
-st.inf.tu-dresden.de/ceti/ros
/ros
-
java
-packages
/rosjava
-
core
-gradle
)
readme.
This diff is collapsed.
Click to expand it.
build.gradle
+
22
−
26
View file @
a893e8e7
...
@@ -31,36 +31,32 @@ subprojects {
...
@@ -31,36 +31,32 @@ subprojects {
sourceCompatibility
=
1.6
sourceCompatibility
=
1.6
targetCompatibility
=
1.6
targetCompatibility
=
1.6
// These external repositories are copied from bootstrap.gradle.
publishing
{
repositories
{
publications
{
jcenter
()
maven
(
MavenPublication
)
{
maven
{
artifactId
=
'rosjava'
url
"http://repository.springsource.com/maven/bundles/release"
artifact
(
"message_generation/build/libs/message_generation-${version}.jar"
)
{
}
extension
'jar'
maven
{
}
url
"http://repository.springsource.com/maven/bundles/external"
}
}
// Configuration of the deployment repository is copied from the RosPlugin.
String
mavenDeploymentRepository
=
System
.
getenv
(
"ROS_MAVEN_DEPLOYMENT_REPOSITORY"
)
if
(
mavenDeploymentRepository
!=
null
&&
mavenDeploymentRepository
!=
""
)
{
publishing
{
publications
{
mavenJava
(
MavenPublication
)
{
from
components
.
java
}
}
}
}
repositories
{
repositories
{
maven
{
maven
{
url
'file://'
+
mavenDeploymentRepository
url
"https://git-st.inf.tu-dresden.de/api/v4/projects/1108/packages/maven"
credentials
(
HttpHeaderCredentials
)
{
name
=
'Job-Token'
value
=
System
.
getenv
(
"CI_JOB_TOKEN"
)
}
authentication
{
header
(
HttpHeaderAuthentication
)
}
}
}
}
}
}
}
else
{
logger
.
warn
(
"ROS_MAVEN_DEPLOYMENT_REPOSITORY is not set. Have you sourced setup.bash?"
)
}
}
}
defaultTasks
'publish'
,
'installDist'
defaultTasks
'publish'
,
'installDist'
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