Add access to opencontrail-all for aptly promote job
Change-Id: I37ad38f86d45280b3d2d6bf6e95d6eaf7c4f663b
diff --git a/aptly-promote-pipeline.groovy b/aptly-promote-pipeline.groovy
index ec058ce..7c7f492 100644
--- a/aptly-promote-pipeline.groovy
+++ b/aptly-promote-pipeline.groovy
@@ -30,7 +30,7 @@
try {
stage("promote") {
// promote is restricted to users in aptly-promote-users LDAP group
- if(jenkinsUtils.currentUserInGroups(["mcp-cicd-admins", "release-engineering"])){
+ if(jenkinsUtils.currentUserInGroups(["mcp-cicd-admins", "release-engineering", "opencontrail-all"])){
lock("aptly-api") {
for (storage in storages) {
if (storage == "local") {