Skip to content

Conversation

anishsatalkar
Copy link
Contributor

Added 2 methods:

  1. get_deployment_projects_for_plan(plan_key)
    This uses the GET /rest/api/latest/deploy/project/forPlan API to fetch all the deployment projects associated with a plan.

  2. trigger_deployment_for_version_on_environment(version_id, environment_id)
    This uses the POST /rest/api/latest/queue/deployment API to trigger a deployment of a release on an environment.

make docker-qa runs successfully with no issues.

Tested on local Bamboo server instance.

…a plan and to trigger a deployment of a release to an env.
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 22.22% and project coverage change: -0.02 ⚠️

Comparison is base (6580cf3) 34.08% compared to head (4d6a144) 34.07%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1173      +/-   ##
==========================================
- Coverage   34.08%   34.07%   -0.02%     
==========================================
  Files          40       40              
  Lines        7630     7639       +9     
  Branches     1056     1057       +1     
==========================================
+ Hits         2601     2603       +2     
- Misses       4919     4926       +7     
  Partials      110      110              
Impacted Files Coverage Δ
atlassian/bamboo.py 23.96% <22.22%> (-0.04%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gonchik gonchik merged commit 326b4f6 into atlassian-api:master May 24, 2023
@gonchik
Copy link
Member

gonchik commented May 24, 2023

@anishsatalkar Thanks for the PR

@anishsatalkar
Copy link
Contributor Author

@gonchik No worries. Happy to get my first open source contribution merged into this project!

@gonchik
Copy link
Member

gonchik commented May 25, 2023

@anishsatalkar feel free to send more Pull Requests.

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.

3 participants