我已经在Devops中创建了一个构建管道,用于将我的应用程序发布到Google Play Store。然而,当将生成的APK文件上传到Google Play Store时,构建成功了,它抱怨道-“您上传的APK不是zip对齐的。您需要在APK上运行zip对齐工具,然后重新上传它。” 我已经检查了管道中的Android签名任务,以确保Zip Align已启用。 当通过VS2019手动执行构建并签署APK时,一切都很好,但我希望让管道正常工作。 请帮帮我。提前感谢!
好吧,我刚刚试图在我的Azure DevOps管道中生成一个Android APK,它给了我以下错误,有人已经解决了这个问题吗?在Android Studio中所有的构建varian都运行得很好,在我的管道中添加这个依赖之前也运行得很好。 Searched in the following locations:
- file:/home/vsts/work/1/s/ProjectFolder/module01/libs/support-providers-5.0.2.jar
- file:/home/vsts/work/1/s/ProjectFolder
我正在尝试建立和部署一个简单的php应用程序与index.php文件使用CI/CD和以下this链接。下面是已配置的yaml文件,构建管道已成功执行。 # PHP
# Test and package your PHP project.
# Add steps that run tests, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/php
trigger:
- main
variables:
# Azure Res
在windows平台上的GitHub操作上发生了一些无法解释的构建管道故障之后,我决定只在Azure上迁移这个部分。我现在有了一个GitHub工作流,它使用:
- uses: azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
我正在尝试使用Azure Devops构建Flask应用程序,我点击了此链接
我能够成功地构建和部署示例应用程序。
但是当我在requirements.txt中添加额外的包并将其推送到Azure repo时。.yaml文件是自动运行的,但是在构建阶段,所有的包都会得到安装,在管道阶段和部署阶段,我没有得到任何错误,但当我尝试测试应用程序时,它显示package not found错误。我没有更改.yaml文件中的任何内容
# Python to Linux Web App on Azure
# Build your Python project and deploy it to A
被困在这上面好几天了..。需要帮助,我的YAML文件在Azure Devops管道。我升级到.NET 5,现在我的通用软件包没有被正确构建。
背景:
我在Azure中创建了一个新项目,并配置了一个常规管道和一个发布管道。初始(常规)管道不打包正确的通用包。我通过使用Azure下载文件来测试它,其中没有zip文件。
以下是我的YAML文件:
# ASP.NET Core (.NET Framework)
# Builds and publishes a new version of each project in the solution as a nuget package in the Ar
我试图在Azure DevOps上构建一个基于DevOps的Docker映像,并将其发布到Azure注册中心。我已经从DevOps提供的模板中设置了一个基本管道,将构建器VM更改为windows-latest,但是当我尝试运行它时,我得到以下内容:
Step 1/43 : FROM mcr.microsoft.com/windows:1909
1909: Pulling from windows
no matching manifest for windows/amd64 10.0.17763 in the manifest list entries
我的管道如下:
trigger:
- ma
我一直在寻找在一个仪表板上显示项目中所有构建和发布管道的标记的方法,我发现在一个小部件上做这件事的最好方法是使用markdown窗口小部件,只需创建一个包含所有管道和相应标记的表,这样做效果非常好。它看起来是这样的:
这是我的降价:
### Applications
| App Name | Build status | UAT Deploy status | PRODUCTION Deploy Status
|:-----------:|:-----------:|:-----------:|:-----------:|
| pipeline 1 | [![BuildStat
我有一个天蓝色的建造管道和释放管道。我面临的问题,在出版建设文物。在build管道中,发布构建工件正在默认的"drop“目录中正确创建。
当我在发布管道中下载该工件时,发布文件将在服务抛出错误的home/wwwroot/apservicename/drop中下载。
您没有查看此目录或页的权限。
这意味着我的发布工件没有在"home/wwwroot“目录下下载。
建造管道
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build
我正在为我的.Net核心FunctionApp在Azure中创建一个构建和发布管道。我收到以下错误 2020-07-13T07:59:10.6443361Z ##[error]Error: No package found with specified pattern: d:\a\r1\a\**\*.zip<br/>Check if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current
我试图使用以下指南备份Azure DevOps回购程序:
我的YAML档案如下:
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
branches:
include:
- '*'
stages:
- stage: _default
我正在运行下面的yaml脚本来构建码头映像并推入kubernetes集群,但同时我希望在构建yaml DevOps时启用停靠层缓存,请解释如何启用或如何将任务添加到蔚蓝script.Could中。
Yaml:
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- mas
由于与sonarqube集成,我被困在jenkins管道中,我已经阅读了其他文章,解决方案是更新持久插件;然而,我的插件在最新版本v493.v195aefbb0ff2中。
控制台输出:
Injecting SonarQube environment variables using the configuration: sq1
[Pipeline] {
[Pipeline] sh
process apparently never started in /var/lib/jenkins/workspace/DevOps Demo@tmp/durable-48ce628f
(running Jenk
我正在尝试运行一个由github操作启动的azure devops管道。
来自的启动示例如下:
- uses: Azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
azure-devops-token: '${{ se
我试图用这个文件夹结构(经典编辑器)在azure-devops中创建管道的层次结构:
-Starter
-- Starter-Pipeline 1
-- Starter-Pipeline 2
-Master
-- Master-Pipeline 1
-- Master-Pipeline 2
启动管道-管道应该根据条件触发主管道。为了实现这一点,我使用了。
Name of the Build Definitions that shall be triggered: Master-Pipeline 1
但是,我得到了这个错误:
##[error]Did not find any build def