Request updateAndBuild (preferred) or a new API that does the same to cover 2. below. Linked issues cover 1, but I thought I would all the information here. From BSP-1361 so it can be closed.
Here is what I believe the correct behavior for updateAndBuild and this should be and documented as such:
- From configured trusted IP or, if blank, source control server - no authorization required on call
- if there are source changes then trigger build and return current message (this is the way it works now )
- if there are no source changes then no build is triggered and return informational message (not an error!!!) that there are no source changes and no build triggered (the change is to give the info message on the api)
- From any other system require authorization
- if and only if successful do the same as above.
- If not authorized then return an error message
[BAM-3325] updateAndBuild API should be more normal
Workflow | Original: JAC Suggestion Workflow [ 3014403 ] | New: JAC Suggestion Workflow 3 [ 3605680 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Obsolete [ 11 ] | |
Status | Original: Gathering Interest [ 11772 ] | New: Resolved [ 5 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2702357 ] | New: JAC Suggestion Workflow [ 3014403 ] |
UIS | New: 0 |
Backlog Order (Obsolete) | Original: 8330000000 | |
Issue Type | Original: Improvement [ 4 ] | New: Suggestion [ 10000 ] |
Status | Original: Not Being Considered [ 11776 ] | New: Gathering Interest [ 11772 ] |
Status | Original: Gathering Interest [ 11772 ] | New: Not Being Considered [ 11776 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1417199 ] | New: Confluence Workflow - Public Facing v4 [ 2702357 ] |
Status | Original: Open [ 1 ] | New: Gathering Interest [ 11772 ] |
Component/s | New: API [ 29795 ] | |
Component/s | New: Triggers [ 11223 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 616425 ] | New: Bamboo Workflow 2016 v1 [ 1417199 ] |