disable restrictions to run aptly-promote-pipeline
Change-Id: I645443838e02171c098ab147de7d0c6fff48bf26
diff --git a/aptly-promote-pipeline.groovy b/aptly-promote-pipeline.groovy
index b9545a7..bf73bec 100644
--- a/aptly-promote-pipeline.groovy
+++ b/aptly-promote-pipeline.groovy
@@ -28,14 +28,6 @@
timeout(time: 12, unit: 'HOURS') {
node("docker&&hardware") {
try {
-
- if (("testing" in TARGET || "proposed" in TARGET) && !jenkinsUtils.currentUserInGroup(["release-engineering", "aptly-promote-users"])) {
- insufficientPermissions = true
- throw new Exception("Only release-engineering or aptly-promote-users can perform promote to testing.")
- } else if (!jenkinsUtils.currentUserInGroup(["release-engineering"])) {
- insufficientPermissions = true
- throw new Exception("Only release-engineering team can perform promote.")
- }
stage("promote") {
// promote is restricted to users in aptly-promote-users LDAP group
lock("aptly-api") {