File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ pipeline {
33
33
buildNumber = (new Date ()). format(' yyMMdd' )
34
34
buildVersion = ' '
35
35
release = ' '
36
- jcrAccessControl = ' '
37
36
artifact = ' target/build.yaml'
38
37
}
39
38
@@ -51,19 +50,10 @@ pipeline {
51
50
sh " curl -fsSL -o pom2.xml https://raw.githubusercontent.com/Silverpeas/silverpeas-dependencies-bom/master/pom.xml"
52
51
script {
53
52
def pom = readMavenPom file : ' pom2.xml'
54
- jcrAccessControl = pom. properties[' jcr.accesscontrol.version' ]
55
53
}
56
54
sh ' rm -f pom?.xml'
57
55
}
58
56
}
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
- }
67
57
stage(' Build and Publish dependencies definition' ) {
68
58
steps {
69
59
dir(' dependencies' ) {
You can’t perform that action at this time.
0 commit comments