{"action":"closed","issue":{"url":"https://api.github.com/repos/awslabs/aws-codebuild-jenkins-plugin/issues/49","repository_url":"https://api.github.com/repos/awslabs/aws-codebuild-jenkins-plugin","labels_url":"https://api.github.com/repos/awslabs/aws-codebuild-jenkins-plugin/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-codebuild-jenkins-plugin/issues/49/comments","events_url":"https://api.github.com/repos/awslabs/aws-codebuild-jenkins-plugin/issues/49/events","html_url":"https://github.com/awslabs/aws-codebuild-jenkins-plugin/issues/49","id":262166077,"number":49,"title":"Duplicating prefix when uploading artifact to S3","user":{"login":"ThatCoalGuy","id":10947617,"avatar_url":"https://avatars3.githubusercontent.com/u/10947617?v=4","gravatar_id":"","url":"https://api.github.com/users/ThatCoalGuy","html_url":"https://github.com/ThatCoalGuy","followers_url":"https://api.github.com/users/ThatCoalGuy/followers","following_url":"https://api.github.com/users/ThatCoalGuy/following{/other_user}","gists_url":"https://api.github.com/users/ThatCoalGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/ThatCoalGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThatCoalGuy/subscriptions","organizations_url":"https://api.github.com/users/ThatCoalGuy/orgs","repos_url":"https://api.github.com/users/ThatCoalGuy/repos","events_url":"https://api.github.com/users/ThatCoalGuy/events{/privacy}","received_events_url":"https://api.github.com/users/ThatCoalGuy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-02T17:43:26Z","updated_at":"2017-10-03T17:25:11Z","closed_at":"2017-10-03T17:25:11Z","author_association":"NONE","body":"The key prefix is duplicated during the upload to s3 when using Jenkins source.\r\n\r\nCurrent behavior: `bucket-name/prefix/key.zip` will become `bucket-name/prefix/prefix/key.zip`\r\nExpected behavior: `bucket-name/prefix/key.zip` will be the same \r\n\r\nLog showing the issue (line2)\r\n```\r\n[AWS CodeBuild Plugin] Using given AWS access and secret key for authorization\r\n[AWS CodeBuild Plugin] Uploading code to S3 at location BUCKET-NAME/commit/commit/project.zip. MD5 checksum is Zi45XEEGcYf7/KN1cp6FTw==\r\n[AWS CodeBuild Plugin] S3 object version id for uploaded source is EaWW4Y9n1hB1FzXDwR.rii3BxO9oErxi\r\n[AWS CodeBuild Plugin] Starting build with \r\n\t> project name [projectname]\r\n\t> source version: EaWW4Y9n1hB1FzXDwR.rii3BxO9oErxi\r\n[AWS CodeBuild Plugin] Build Id: projectname:231b085b-af9f-43ed-87f1-cf9b56b73362\r\n[AWS CodeBuild Plugin] Logs url: https://console.aws.amazon.com/cloudwatch/home?region=us-west-2#logEvent:group=/aws/codebuild/projectname;stream=231b085b-af9f-43ed-87f1-cf9b56b73362\r\n[AWS CodeBuild Plugin] Build projectname:231b085b-af9f-43ed-87f1-cf9b56b73362 failed\r\n\t> Access Denied (status code: CLIENT_ERROR)\r\nBuild step 'AWS CodeBuild' changed build result to FAILURE\r\n```"}}
{"actor":{"display_login":"leobaran-aws"}}