Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat-pagerduty - added conversion for pagerduty plugin #245

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vanisrikanithi
Copy link
Contributor

pagerduty go-conversion:
Added "Pagerduty " support to go-convert specific to jenkins migration.

Pager Duty Jenkins Trace:
test-pager-duty.json

go run main.go jenkinsjson --downgrade ~/go/test-pager-duty.json

pagerduty step:

- step:
    identifier: pagerduty51d22b
    name: Pagerduty
    spec:
      image: plugins/pagerduty
      settings:
        dedup_key: E54EC853A59A3815EF3632D5F854CF26
        incident_severity: critical
        incident_source: test-pager-duty
        incident_summary: Build Failed for test-pager-duty
        job_status: failure
        log_level: debug
        resolve: 'false'
        routing_key: a666ad1326f34605d06c0dbd4d87c1cb
    timeout: ''
    type: Plugin

pagerdutyChangeEvent step:

- step:
    identifier: pagerdutychangeevent499434
    name: Pagerduty_Change_Event
    spec:
      image: plugins/pagerduty
      settings:
        custom_details: '{"buildNumber":"22","jobName":"test-pager-duty","jobURL":"http://localhost:8080/job/test-pager-duty/22/"}'
        incident_source: ''
        incident_summary: Job test-pager-duty completed with status SUCCESS
        log_level: debug
        routing_key: a666ad1326f34605d06c0dbd4d87c1cb
        create_change_event: "true"
    timeout: ''
    type: Plugin

@vanisrikanithi
Copy link
Contributor Author

@Ompragash Added the pagerduty and pagerdutyChangeEvent support to go-convert, Could you please review it and confirm the changes?

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant