{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/issues/29","repository_url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin","labels_url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/issues/29/comments","events_url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/issues/29/events","html_url":"https://github.com/jenkinsci/contrast-continuous-application-security-plugin/pull/29","id":353180349,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzA0MzMy","number":29,"title":"CONTRAST-25849","user":{"login":"serge17","id":18661283,"node_id":"MDQ6VXNlcjE4NjYxMjgz","avatar_url":"https://avatars1.githubusercontent.com/u/18661283?v=4","gravatar_id":"","url":"https://api.github.com/users/serge17","html_url":"https://github.com/serge17","followers_url":"https://api.github.com/users/serge17/followers","following_url":"https://api.github.com/users/serge17/following{/other_user}","gists_url":"https://api.github.com/users/serge17/gists{/gist_id}","starred_url":"https://api.github.com/users/serge17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serge17/subscriptions","organizations_url":"https://api.github.com/users/serge17/orgs","repos_url":"https://api.github.com/users/serge17/repos","events_url":"https://api.github.com/users/serge17/events{/privacy}","received_events_url":"https://api.github.com/users/serge17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-23T01:08:38Z","updated_at":"2018-08-28T00:13:27Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/pulls/29","html_url":"https://github.com/jenkinsci/contrast-continuous-application-security-plugin/pull/29","diff_url":"https://github.com/jenkinsci/contrast-continuous-application-security-plugin/pull/29.diff","patch_url":"https://github.com/jenkinsci/contrast-continuous-application-security-plugin/pull/29.patch"},"body":"Now users can choose which type of appVersionTag format they would like to use:\r\n\r\n![upload](https://user-images.githubusercontent.com/18661283/44498921-22b55c80-a647-11e8-920b-4b6af4610912.png)\r\n\r\nWorks in both post-build actions and the pipeline.\r\n\r\nTo test the pipeline functionality, create a new Jenkins job of type \"Pipeline\". In the pipeline section add the script.\r\n\r\nHere is a sample pipeline script:\r\n```\r\nnode {\r\n   stage('Build') {\r\n        try {\r\n            contrastVerification applicationName: 'NodeTestBench', count: 6, profile: 'new-profile', severity: 'High', appVersionTagFormat: 2\r\n         }\r\n         catch (err){\r\n             throw err\r\n        }\r\n   }\r\n}\r\n```\r\n\r\nThere are 2 options for the appVersionTagFormat:\r\n1 - default format: applicationName-buildNumber\r\n2 - for hierarchical projects: applicationName-buildName-buildNumber"},"comment":{"url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/issues/comments/416409121","html_url":"https://github.com/jenkinsci/contrast-continuous-application-security-plugin/pull/29#issuecomment-416409121","issue_url":"https://api.github.com/repos/jenkinsci/contrast-continuous-application-security-plugin/issues/29","id":416409121,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjQwOTEyMQ==","user":{"login":"serge17","id":18661283,"node_id":"MDQ6VXNlcjE4NjYxMjgz","avatar_url":"https://avatars1.githubusercontent.com/u/18661283?v=4","gravatar_id":"","url":"https://api.github.com/users/serge17","html_url":"https://github.com/serge17","followers_url":"https://api.github.com/users/serge17/followers","following_url":"https://api.github.com/users/serge17/following{/other_user}","gists_url":"https://api.github.com/users/serge17/gists{/gist_id}","starred_url":"https://api.github.com/users/serge17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serge17/subscriptions","organizations_url":"https://api.github.com/users/serge17/orgs","repos_url":"https://api.github.com/users/serge17/repos","events_url":"https://api.github.com/users/serge17/events{/privacy}","received_events_url":"https://api.github.com/users/serge17/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T00:13:27Z","updated_at":"2018-08-28T00:13:27Z","author_association":"CONTRIBUTOR","body":"@gmoore Done, I merged the branch and the PR was tested by Jarkko"}}
{"actor":{"display_login":"serge17"}}