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

fix(1415): models@v28.3.0 #2247

Merged
merged 4 commits into from Oct 13, 2020
Merged

fix(1415): models@v28.3.0 #2247

merged 4 commits into from Oct 13, 2020

Conversation

wahapo
Copy link
Contributor

@wahapo wahapo commented Oct 13, 2020

Context

I'm getting an error data: TypeError: pipeline.addWebhook is not a function when creating the pipeline.

Due to the following PR in models@v23.3.0, addWebhook is now changed to addWebhooks.
https://github.com/screwdriver-cd/models/pull/472/files#diff-2977a16e13f278992ce964024e936111d8f1c3b68f5f698c7e06195258912721L383-R384

Objective

I want pass test step.
https://cd.screwdriver.cd/pipelines/1/builds/577559/steps/test

References

screwdriver-cd/models#472
Related to #1415

License

I confirm that this contribution is made under a BSD license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

yoshwata
yoshwata previously approved these changes Oct 13, 2020
@kumada626
Copy link
Contributor

Should we also change these webhook methods?

.then(() => pipeline.addWebhook(`${request.server.info.uri}/v4/webhooks`))

updatedPipeline.addWebhook(

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.913% when pulling 3ed89c1 on wahapo:patch-1 into 5b873d5 on screwdriver-cd:master.

@tkyi tkyi merged commit 776384e into screwdriver-cd:master Oct 13, 2020
@wahapo wahapo deleted the patch-1 branch October 5, 2021 01:41
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.

None yet

6 participants