-
Notifications
You must be signed in to change notification settings - Fork 431
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
The compareReleaseDetails
becomes the same as releaseDetails
when manually retrigger the deployment (additional: empty workitems issue)
#885
Comments
But it is true to say that all the design is based about a build or release being run once, everything else is a edge case. I need to have a bit of a think about what I can do to address your points. |
I have had a bit of think about this, the key fact is that the Microsoft release API will always look for the last successful release to the current stage for it's comparison. When you see 'deployment attempt 1, 2' etc. the compare will always compare against the first successful release to the stage, as you have noted. I think adding logic to If you are struggling to develop templates, can I suggest my command line tester, it is the tool use for all my template development |
Sorry for the late reply due to missing the email notification _(:3 OK, just to make sure things are by designed. I'll close this issue, thanks. |
BTW, just for sharing so I am not creating a new issue if not needed Recently, we solve an issue for getting the By checking the implementation for acquiring an access token ( We finally find out that the organization setting I haven't seem this problem be documented or raised as an issue (or I just miss one?) |
compareReleaseDetails
becomes the same as releaseDetails
when manually retrigger the deploymentcompareReleaseDetails
becomes the same as releaseDetails
when manually retrigger the deployment (additional: empty workitems issue)
Reopen this issue for a few days for the |
Thanks you for the feedback, I will get the documentation updated. |
Is your feature request related to a problem? Please describe.
I am now using the
XplatGenerateReleaseNotes:v3.x
to generate report, with Option 1: Generate notes since the last successful release.However, I soonly face a problem that when I want to change the note template by
Edit release, change the template format, and Deploy
, the output content gets changed.This might happens due to the mechanism to find last successful release doesn't exclude the release itself.
For example, in my
Logs > Deployment attempt #1
for the second release:in
Deployment attempt #2
, it becomes:Describe the solution you'd like
After some quick survey, I found that someone has already mention this issue in #727 .
However, it was treated as running the stage at the first time, but not sure if the same issue for
different attempts
happened because it's a bug, an undefined behavior, or by design?I think it might be an undefined behavior because releases are usually triggered automatically; however, it's somehow not intuitive if the result cannot be reproduced for different attempts within the same release.
It might not be that easy to change the logic for function
getLastSuccessfulBuildByStage
, but I expect it can realize that it's under different attempt instead of other situations like the first release.Thank you :)
The text was updated successfully, but these errors were encountered: