Not filterable by stage at subscribe Azure DevOps pipeline in Microsoft Teams - azure-devops

I have installed Azure DevOps plug-in in Microsoft Teams. I want subscribe to a pipeline, so I write Azure pipelines subscriptions on the line. Afterwards List of subscribtions appears I choose Add subscription. Then I choose Release Deployment Completed and when it comes to Stage name (choose filters) I can only see the possibility [Any] . Why I don't see all the ones stages I use and I can't choose one when I use them in release pipelines ?
Maybe I can try subscribe each individual pipeline by its url but this is approximately 60 individual requests. So subscribe to a whole project is better option for me.

Related

Trigger Azure pipeline with params from Microsoft teams

Is it possible to trigger Azure pipeline from Microsoft teams?
I am able to subscribe updates from azure pipeline in team
I am able to subscribe updates from azure pipeline in team
From your question, it seems you are using Azure Pipelines App in Teams. I think you want to know whether this app can trigger azure pipeline in DevOps?
If so, the answer is NO.
See the official document:
Use Azure Pipelines with Microsoft Teams
Available commands in Azure Pipelines app
As you can see, no commands in this app can achieve your requirement.
And, Azure pipeline app was started from 2019, the original intention of the design is mainly for monitor the pipelines:
Azure Pipelines app on Microsoft Teams enables you to monitor the events for your pipelines.
Official app of azure pipeline doesn't support your requirements. If you want trigger your pipeline from Teams, I think you need to design your own app, the related technology should be this:
Webhooks and connectors
The trigger type will be 'Manually trigger' in this situation.

How do i send azure pipeline artifacts ( in my case .apk ) to MsTeam

i created an zure build pipeline and i want to publish my artifacts to Microsoft-teams Channel so my teasting team can get it .
How do i send azure pipeline artifacts ( in my case .apk ) to MsTeam
I am afraid there is a way to achieve this.
According to the document Azure Pipelines with Microsoft Teams:
Azure Pipelines app on Microsoft Teams enables you to monitor the
events for your pipelines. You can set up and manage subscriptions for
releases, pending approvals, completed builds etc. and get
notifications right into your Teams channel for these updates. You can
also approve releases from within your Teams channel.
So, we could only send the notification about the build pieline, not share the build artufact to teams.
In other words, using Teams to transfer files inherently degrades Teams' service and introduces additional risks.

Rename "Pipelines" to "Builds" in ADO

How do I customize the "Pipeline" tab in Azure Devps (Image 1) so that it is renamed to "Builds" (Image 2)?
Rename “Pipelines” to “Builds” in ADO
Sorry for any inconvenience.
This behavior is by designed and is not an issue. There is no way to fix it at present.
Azure devops team working on an updated user experience to manage our pipelines. These updates make the pipelines experience modern and consistent with the direction of Azure DevOps.
Moreover, these updates bring together classic build pipelines and multi-stage YAML pipelines into a single experience. It is mobile-friendly and brings various improvements to how you manage your pipelines.
You could check the document Azure DevOps Pipelines – Multi-Stage Pipelines and YAML for Continuous Delivery for some more details.
Since Multi-Stage Pipelines and YAML for Continuous Delivery introduced, Builds are no longer just a single build as before, but also include the CD part. At this time, Builds are no longer suitable as tabs, so they are changed to Pipelines.
This is a modification of product update progress.

Azure DevOps - Find pipelines with schedules

In Azure DevOps, when trying to find all jobs with time based triggers, is there an alternative to examining them one by one using UI or CLI?
You can try to use Rest API to list builds.
GET https://dev.azure.com/{organization}/{project}/_apis/build/builds?reasonFilter=schedule&api-version=6.1-preview.6
After adding reasonFilter=schedule parameter, you will get all schedule triggered builds and information related to the builds such as definition ids.

How to pass "settable at queue time" variable value from build pipeline to release pipeline

I have two pipelines on azure devops that do the following:
BUILD PIPELINE
Asks the user for the desire branch name and ticket id (from our ticketing system). Using two "settable at queue time" variables.
Gets the files from the specified branch name, builds the project and generate the artifacts that are later use by the RELEASE pipeline
RELEASE PIPELINE
This release pipeline is being triggered by the completion of the BUILD pipeline specified before. This pipeline completes the following tasks:
Creates new app service slot using an Azure CLI command task. In this task I need the ticket id, in order to create the slot with the corresponding ticket id as its name
Deploy the application to the created app service slot
I haven't found a way to pass to the RELEASE pipeline the ticket id the user entered when running the BUILD pipeline that triggered this RELEASE.
Unfortunately, there's no such a build-in function in Azure DevOps. While thanks to Martin Hinshelwood, we had an extension- Variable Tools for Azure DevOps Services to achieve the goal.
As you can see in the extension's doc, add a Variable Save Task in your build pipeline and a Variable Load Task in your release pipeline. After these two tasks, the variables are fully passed to your release.
Check below as reference: