mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 09:37:37 +00:00
Lets try this again
This commit is contained in:
parent
d16aa6de4c
commit
067094130f
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -8,7 +8,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*stage("publish") {
|
stage("publish") {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "master"
|
||||||
}
|
}
|
||||||
@ -19,7 +19,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
28
build.gradle
28
build.gradle
@ -28,20 +28,22 @@ allprojects {
|
|||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
afterEvaluate { project ->
|
||||||
publications {
|
publishing {
|
||||||
maven(MavenPublication) {
|
publications {
|
||||||
from(components.java)
|
maven(MavenPublication) {
|
||||||
|
from(components.java)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
repositories {
|
||||||
repositories {
|
maven {
|
||||||
maven {
|
def releasesRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-releases/")
|
||||||
def releasesRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-releases/")
|
def snapshotsRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-snapshots/")
|
||||||
def snapshotsRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-snapshots/")
|
url = version.endsWith('-SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
||||||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
credentials {
|
||||||
credentials {
|
username = System.getenv("plexUser")
|
||||||
username = System.getenv("plexUser")
|
password = System.getenv("plexPassword")
|
||||||
password = System.getenv("plexPassword")
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user