{"action":"opened","issue":{"url":"https://api.github.com/repos/entagen/jenkins-build-per-branch/issues/81","labels_url":"https://api.github.com/repos/entagen/jenkins-build-per-branch/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/entagen/jenkins-build-per-branch/issues/81/comments","events_url":"https://api.github.com/repos/entagen/jenkins-build-per-branch/issues/81/events","html_url":"https://github.com/entagen/jenkins-build-per-branch/issues/81","id":58916916,"number":81,"title":"Incorrect branch names in newly spawned jobs","user":{"login":"sherabi","id":2041061,"avatar_url":"https://avatars.githubusercontent.com/u/2041061?v=3","gravatar_id":"","url":"https://api.github.com/users/sherabi","html_url":"https://github.com/sherabi","followers_url":"https://api.github.com/users/sherabi/followers","following_url":"https://api.github.com/users/sherabi/following{/other_user}","gists_url":"https://api.github.com/users/sherabi/gists{/gist_id}","starred_url":"https://api.github.com/users/sherabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherabi/subscriptions","organizations_url":"https://api.github.com/users/sherabi/orgs","repos_url":"https://api.github.com/users/sherabi/repos","events_url":"https://api.github.com/users/sherabi/events{/privacy}","received_events_url":"https://api.github.com/users/sherabi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T15:21:12Z","updated_at":"2015-02-25T15:21:12Z","closed_at":null,"body":"Hi,\r\nAs part of gradle switches I entered the following...\r\n-DjenkinsUrl=http://forge:8080 -DgitUrl=git@scm:product/platform -DtemplateJobPrefix=MINT_Platform_3.7 -DtemplateBranchName=develop -DbranchNameRegex=.*\\/v37\\/feature\\/MINT-.+ -DjenkinsUser=xxxx -DjenkinsPassword=xxxx -DstartOnCreate=true -DnestedView=Wolverine\r\n\r\nThe branches matching my regex are correctly identified:\r\n10:05:53 executing command: git ls-remote --heads git@scm:product/platform\r\n10:05:54 \t  944bdbc4c66082be384ebc9b697c9926e39b5cab\trefs/heads/develop\r\n10:05:54 \t  0de938a7a5838d411ffef4d5bbc009c1c30344ba\trefs/heads/feature/MINT-1328-sam-lifecycle\r\n10:05:54 \t  c4ab58609decebf671dce70b4467cde7932c19b8\trefs/heads/feature/MINT-1330\r\n10:05:54 \t  b196866cb62053d7d0fa93912e1a0ba83855218c\trefs/heads/feature/MINT-1331\r\n10:05:54 \t  fd599c0905d3ddd107d75eaedbdc5b1e7560bcf5\trefs/heads/feature/MINT-1353\r\n10:05:54 \t  7d4ab98cdc85f1f041e1a70b7cb909c5d128035a\trefs/heads/feature/MINT-1368\r\n10:05:54 \t  a8fbcce869520885e6c1b30f169ec55df74a0679\trefs/heads/feature/MINT-1371\r\n10:05:54 \t  7d3014bb13d9cd4a8bfa54fa6d4aa2b4b2764585\trefs/heads/feature/MINT-1378\r\n10:05:54 \t  cbe8b0f5522768b461294323d47c9bd1bb7b2064\trefs/heads/feature/MINT-1390\r\n10:05:54 \t  588fcaf5b5a6250cd385307f68b7c86f41bbfd4d\trefs/heads/feature/MINT-1441\r\n10:05:54 \t  20bd990fd9d73eedff844720f9ac6e8e2eeefc02\trefs/heads/feature/MINT-1449\r\n10:05:54 \t  650e91c29d654b6af2c5916a7ae900497143a1cf\trefs/heads/feature/MINT-1453\r\n10:05:54 \t  b6435fb2f799f4d5cdbe63984a7ceb8e8afe9fba\trefs/heads/feature/MINT-357\r\n10:05:54 \t  73a7f87688f55ca7f8dd8d036ece169f2148a0d7\trefs/heads/master\r\n10:05:54 \t  a6b089d8cce683aed85becb5dcff02233a9aa98d\trefs/heads/support/v3.5\r\n10:05:54 \t  3e59d628d6d4f3f867af58a04333d328af7b6ead\trefs/heads/support/v3.7\r\n10:05:54 \t  caee7b0054754cd9d6db0aba6929c826840677b4\trefs/heads/support/v37/develop\r\n10:05:54 \t* d5583f156a64528b57177c7f0b116b3803d2d400\trefs/heads/support/v37/feature/MINT-1329\r\n10:05:54 \t* c169316ba713071968f315dfb6d4e32de241cf17\trefs/heads/support/v37/feature/MINT-1446\r\n10:05:54 \t* 8af32416ac0ddf63a03ab2476d74d8964358bac2\trefs/heads/support/v37/feature/MINT-1452\r\n\r\n\r\nSee the ones marked in asterix....\r\nHowever the newly spawned jobs show the following as their branch specifiers\r\nsupport/v37/support/v37/feature/MINT-1329\r\nsupport/v37/support/v37/feature/MINT-1446\r\nsupport/v37/support/v37/feature/MINT-1452\r\n\r\nNotice that support/v37 occurs twice as part of the branch specifier on the newly created jobs. I think this is a bug.\r\nThanks!"}}