zoukankan      html  css  js  c++  java
  • Azure Pinelines Dotnet Build Script

    azure-pipelines.yml

    # ASP.NET Core (.NET Framework)
    # Build and test ASP.NET Core projects targeting the full .NET Framework.
    # Add steps that publish symbols, save build artifacts, and more:
    # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
    
    trigger:
    - dev
    
    pool: 'Default'
    
    variables:
      solution: 'TestApp.sln'
      buildPlatform: 'x64'
      buildConfiguration: 'Debug'
    
    steps:
    
    - task: NuGetCommand@2
      displayName: 'Restore package'
      inputs:
        command: 'restore'
        restoreSolution: '${{variables.solution}}'
        feedsToUse: 'Config'
        nugetConfigPath: '$(Build.SourcesDirectory)
    uget.config'
    
    - task: DotNetCoreCLI@2
      displayName: 'Build Binary'
      inputs:
        command: 'build'
        projects: |
                TestApp/aspnet-core/src/TestApp.HttpApi.Host/TestApp.HttpApi.Host.csproj
        arguments: '--configuration $(buildConfiguration) '
    
    - task: CopyFiles@2
      inputs:
        targetFolder: '$(Build.ArtifactStagingDirectory)'    
    - task: PublishBuildArtifacts@1
    

      

  • 相关阅读:
    python爬虫如何提高效率
    对 js加密数据进行爬取和解密
    爬虫之数据解析
    requests模块的基本使用
    python的零碎知识
    Django中多表关联的展示问题:
    ModelForm的基本用法:
    websocket的应用---Django
    DOM
    BOM
  • 原文地址:https://www.cnblogs.com/sui84/p/14219185.html
Copyright © 2011-2022 走看看