mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 08:05:05 +00:00
Avoid running the pipeline on branch indexing
This commit is contained in:
parent
5a2f92588c
commit
b84a6e3a7f
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -62,6 +62,13 @@ stage('Configure') {
|
||||
])
|
||||
}
|
||||
|
||||
// Avoid running the pipeline on branch indexing
|
||||
if (currentBuild.getBuildCauses().toString().contains('BranchIndexingCause')) {
|
||||
print "INFO: Build skipped due to trigger being Branch Indexing"
|
||||
currentBuild.result = 'ABORTED'
|
||||
return
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
Map<String, Closure> executions = [:]
|
||||
environments.each { BuildEnvironment buildEnv ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user