Skip to content
Snippets Groups Projects
Commit 41195913 authored by OZGCloud's avatar OZGCloud
Browse files

Pull request #16: BUP-1102: Modifications to build and push the...

Pull request #16: BUP-1102: Modifications to build and push the info-manager-interface to the artifactory

Merge in BUP/ozg-info-manager from feature/BUP-1102-ozg-cloud-infomanager-push-interface-to-artifactory to dev
parent 13ce4c57
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,7 @@ pipeline {
buildEnvironment {
currentBuild.displayName = getBuildName()
sh 'gradle :ozg-info-manager-server:bootBuildImage --publishImage'
sh 'gradle :ozg-info-manager-interface:publish'
}
}
}
......
......@@ -26,3 +26,4 @@ sonarqube_plugin=4.3.1.3277
# Deployment
dockerRegistryForPublish=bup-docker-local.dockerregistry.mgm-tp.com
dockerRegistryPull=docker-repos.dockerregistry.mgm-tp.com
mavenReleasesRepository=https://artifacts.mgm-tp.com/artifactory/bup-maven-releases/
\ No newline at end of file
......@@ -10,6 +10,7 @@ buildscript {
plugins {
id 'java-library'
id "com.google.protobuf" version "${protobufPluginVersion}"
id 'maven-publish'
}
sourceSets {
......@@ -45,3 +46,25 @@ protobuf {
}
}
}
publishing {
repositories {
maven {
url "${mavenReleasesRepository}"
credentials {
username = "${repository_username}"
password = "${repository_password}"
}
}
}
publications {
mavenJava(MavenPublication) {
groupId = "${group}"
artifactId = "${project.name}"
version = "${rootProject.version}"
from components.java
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment