Closed azure-pipelines[bot] closed 5 years ago
I'm a Program Manager on Azure Pipelines. Let me know if you have any questions or suggestions. I'm happy to help!
@lipkau , I am the Author of AzurePipelinesPS. I have my AzurePipelinesPS pipeline setup in Azure Pipelines. Let me know if you need any assistance.
Thank you, @kaylangan . I am really enjoying working with VSTS. But I found 2 things which are bugging me a bit:
This is all the feedback I have for now. But I really appreciate the product and the upgrade free tier you provide. Helps a lot for hobby projects, like this/these one/s.
@Dejulia489 : why don't you put your pipeline in the pipeline yaml file? or delete the file from the repo?
@lipkau, I built my build pipeline from a json template with AzurePipelinesPS. I have update my yml to reflect my build.
- I tag the commit which was released in the git(hub) repo in the last step of the CI/CD. And as the "release pipeline" does not have a task for cloning the repository, nor a variable of the commit which is being built (so that I can manually fetch the right commit), I am unable to use the "release pipeline" for deploying my project - I have to do it as a conditional step in the "build pipeline"
For adding "tag a commit" in the release pipeline, you can use the variable Release.Artifacts.{alias}.SourceVersion
Update: the ability to upload build artifacts from a fork PR build should be available in Azure Pipelines production by the end of next week (November 9) - hopefully sooner.
thank you for the hint, @shashban .
If I understand you correctly, I should be able to open the repo on the correct commit with something like this:
git -c http.extraheader="AUTHORIZATION: basic ***" -progress clone .....
git checkout --progress --force $(Release.Artifacts.{alias}.SourceBranch)
is this correct?
Thank you so much for the update @DavidStaheli . I was visiting this ticket daily to check on this :-P https://developercommunity.visualstudio.com/content/problem/350007/build-from-github-pr-fork-error-tf400813-the-user-1.html
😄 I'm glad you brought it up, @lipkau! I'll be sure to update that ticket and the one it links to as soon as this is available everywhere.
@DavidStaheli : any news regarding the release?
Hi @lipkau. Thanks for your patience. Unfortunately, it was delayed longer than I expected. The capability is deployed to production, but still behind a feature flag that should be enabled for everyone this week. If you can tell me the name of your Azure DevOps organization, I can enable it for you sooner.
@DavidStaheli : my org is named AtlassianPS
https://dev.azure.com/AtlassianPS /ConfluencePS
I appreciate your support
implements AtlassianPS/AtlassianPS#10