{"body":"- builder:\r\n    name: distribution-check-verify-groupid\r\n    builders:\r\n      - shell: |\r\n          echo \"These are allowed projects: $ALLOW_PROJECTS\"\r\n          echo \"These are distribution pulled projects:\"\r\n          EXIT_CODE=\"0\"\r\n          for PROJECT in `ls /tmp/r/org/opendaylight`; do\r\n          echo \"checking $PROJECT\"\r\n          if [[ \"$ALLOW_PROJECTS\" != *\"$PROJECT\"* ]]; then\r\n          echo \"ERROR: Not allowed project $PROJECT pulled\"\r\n          EXIT_CODE=\"1\"\r\n          fi\r\n          done\r\n          exit $EXIT_CODE\r\n          echo \"verify project groupId\"\r\n          mkdir -p /tmp/t/org/opendaylight/{gerrit-project}\r\n          mv /tmp/n/org/opendaylight/{gerrit-project}/* /tmp/t/org/opendaylight/{gerrit-project}/\r\n          test -z \"`find /tmp/n/ -type f`\" || ( echo \"ERROR: Mismatched groupId detected (see above).\" && false )\r\n          rm -rf /tmp/n\r\n          mv /tmp/t /tmp/n\r\n\r\n\r\nThis returns error:\r\n\r\n/home/user/git/builder/jjb/integration/distribution/distribution-macros.yaml:3:3: While expanding macro 'distribution-check-wipe'\r\n    - builder:\r\n      ^\r\n/home/user/git/builder/jjb/integration/distribution/distribution-macros.yaml:8:11: While formatting string 'echo \"wipe r: the local Maven repository\"\\nrm -rfv /tmp/r\\necho \"wipe n: the fake ...': Missing parameter: 'ALLOW_PROJECTS'\r\n              echo \"wipe r: the local Maven repository\"\r\n              ^\r\n","name":"shell-escape","extension":"txt","url":"https://www.irccloud.com/pastebin/9TE30oiG/shell-escape","modified":1706599223,"id":"9TE30oiG","size":1392,"lines":31,"own_paste":false,"theme":"","date":1706599125}