Skip to content

Commit 37031c3

Browse files
committed
With the replacement of Jackrabbit 2 by Jackrabbit Oak, there is no more requirement on jcrAccessControl.
1 parent f5ce673 commit 37031c3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/builds/project/Jenkinsfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ pipeline {
3333
buildNumber = (new Date()).format('yyMMdd')
3434
buildVersion = ''
3535
release = ''
36-
jcrAccessControl = ''
3736
artifact = 'target/build.yaml'
3837
}
3938

@@ -51,19 +50,10 @@ pipeline {
5150
sh "curl -fsSL -o pom2.xml https://raw.githubusercontent.com/Silverpeas/silverpeas-dependencies-bom/master/pom.xml"
5251
script {
5352
def pom = readMavenPom file: 'pom2.xml'
54-
jcrAccessControl = pom.properties['jcr.accesscontrol.version']
5553
}
5654
sh 'rm -f pom?.xml'
5755
}
5856
}
59-
stage('Check dependencies') {
60-
when {
61-
expression { jcrAccessControl.contains('SNAPSHOT') }
62-
}
63-
steps {
64-
error "The Silverpeas JCR AccessControl dependency must be a stable or a build version. Current version is ${jcrAccessControl}"
65-
}
66-
}
6757
stage('Build and Publish dependencies definition') {
6858
steps {
6959
dir('dependencies') {

0 commit comments

Comments
 (0)