Skip to content

Commit 7adb8c2

Browse files
committed
Secure Develocity publishing
1 parent e5a9ba8 commit 7adb8c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Jenkinsfile

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@Library('hibernate-jenkins-pipeline-helpers') _
2+
13
def withMavenWorkspace(Closure body) {
24
withMaven(jdk: 'OpenJDK 17 Latest', maven: 'Apache Maven 3.9',
35
mavenLocalRepo: env.WORKSPACE_TMP + '/.m2repository',
@@ -21,6 +23,11 @@ pipeline {
2123
disableConcurrentBuilds(abortPrevious: true)
2224
}
2325
stages {
26+
stage('Checks') {
27+
steps {
28+
requireApprovalForPullRequest 'hibernate'
29+
}
30+
}
2431
stage('Default build') {
2532
agent {
2633
label 'Worker&&Containers'

0 commit comments

Comments
 (0)