{"action":"closed","issue":{"url":"https://api.github.com/repos/JFrogDev/project-examples/issues/61","repository_url":"https://api.github.com/repos/JFrogDev/project-examples","labels_url":"https://api.github.com/repos/JFrogDev/project-examples/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/JFrogDev/project-examples/issues/61/comments","events_url":"https://api.github.com/repos/JFrogDev/project-examples/issues/61/events","html_url":"https://github.com/JFrogDev/project-examples/issues/61","id":192504354,"number":61,"title":"upload spec match multiple file extensions","user":{"login":"mr-git","id":8796159,"avatar_url":"https://avatars.githubusercontent.com/u/8796159?v=3","gravatar_id":"","url":"https://api.github.com/users/mr-git","html_url":"https://github.com/mr-git","followers_url":"https://api.github.com/users/mr-git/followers","following_url":"https://api.github.com/users/mr-git/following{/other_user}","gists_url":"https://api.github.com/users/mr-git/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-git/subscriptions","organizations_url":"https://api.github.com/users/mr-git/orgs","repos_url":"https://api.github.com/users/mr-git/repos","events_url":"https://api.github.com/users/mr-git/events{/privacy}","received_events_url":"https://api.github.com/users/mr-git/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-30T08:31:03Z","updated_at":"2016-12-19T09:03:28Z","closed_at":"2016-12-19T09:03:27Z","body":"```\r\ndef uploadSpec = '''{\r\n    \"files\": [\r\n      {\r\n      \"pattern\": \"gitrepo/<project>-(.*)/target/(.*)-'''+version+'''(.*)(.jar|.pom)\",\r\n      \"target\": \"snapshots/<organization>/{2}/'''+version+'''/\",\r\n      \"props\": \"GitCommitId='''+gitRev+'''\",\r\n      \"regexp\": \"true\"\r\n      }\r\n   ]\r\n}'''\r\n```\r\nAbove is the `uploadSpec` I try to use to upload all `.jar` files and `.pom` files, but Jenkins reports that the pattern matched only `.jar` files.\r\nIs there a way to define such `OR` in pattern? Nowhere in samples I find anything like this."}}
{"actor":{"display_login":"eyalbe4"}}