mirror of
https://github.com/corda/corda.git
synced 2025-02-12 21:56:04 +00:00
changed to static class
This commit is contained in:
parent
e7ede512e7
commit
6f56196df0
9
.ci/dev/pr-code-checks/Jenkinsfile
vendored
9
.ci/dev/pr-code-checks/Jenkinsfile
vendored
@ -1,9 +1,6 @@
|
||||
@Library('corda-shared-build-pipeline-steps')
|
||||
import static com.r3.build.BuildControl.killAllExistingBuildsForJob
|
||||
import com.r3.build.utils.PipelineUtils
|
||||
|
||||
@Field
|
||||
PipelineUtils pipelineUtils = new PipelineUtils(this)
|
||||
import static com.r3.build.utils.PipelineUtils
|
||||
|
||||
killAllExistingBuildsForJob(env.JOB_NAME, env.BUILD_NUMBER.toInteger())
|
||||
|
||||
@ -106,6 +103,6 @@ pipeline {
|
||||
}
|
||||
|
||||
def githubPRComment(String commentText, String pattern) {
|
||||
Long userCommentId = pipelineUtils.getUserCommentIdMatchingPattern(pattern)
|
||||
userCommentId == null ? pipelineUtils.addGitHubComment(commentText) : pipelineUtils.editGitHubComment(commentText, userCommentId)
|
||||
Long userCommentId = PipelineUtils.getUserCommentIdMatchingPattern(pattern)
|
||||
userCommentId == null ? PipelineUtils.addGitHubComment(commentText) : PipelineUtils.editGitHubComment(commentText, userCommentId)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user