You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/04/16 14:42:57 UTC
[sling-tooling-jenkins] branch master updated: Remove unused methods
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git
The following commit(s) were added to refs/heads/master by this push:
new b073cae Remove unused methods
b073cae is described below
commit b073caed3b050d10451c7ed26a4fec1c68a1dd29
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Apr 16 17:42:39 2019 +0300
Remove unused methods
---
vars/slingOsgiBundleBuild.groovy | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index df271f2..8c77483 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -72,24 +72,6 @@ def additionalMavenParams(def jobConfig) {
branchConfig.additionalMavenParams : jobConfig.additionalMavenParams
}
-@NonCPS
-def getGitHubRepoSlug() {
- if ( !env.CHANGE_URL )
- return null
-
- def matcher = env.CHANGE_URL =~ /https:\/\/github\.com\/([\w-]+)\/([\w-]+)\/pull\/\d+/
- if ( !matcher )
- return null
-
- return "${matcher.group(1)}/${matcher.group(2)}"
-}
-
-@NonCPS
-def addPullRequestComment(def message) {
- def comment = pullRequest.comment(message)
- return comment.id // prevent escape of a non-serializable object
-}
-
def defineStage(def globalConfig, def jobConfig, def jdkVersion, def isReferenceStage) {
def goal = jobConfig.mavenGoal ? jobConfig.mavenGoal : ( isReferenceStage ? "deploy" : "verify" )