continuous-deployment

Tfs post-build step running application hangs

六眼飞鱼酱① 提交于 2019-12-12 05:06:16
问题 We have a configured TFS CI which is making our build. After a build I`d like to have my simple executable application to be deployed to specific folder on the server and then started. I decided to do this with post-build step and batch script. Everything works perfectly except one: when the application is stared, build agent(the one who runs my script) hangs. Here is how I start my application from the script: start /b %depldir%\MyApp.exe [params] > log.txt So I start it in backgroound and

VSTS Release task can't find the zip file

折月煮酒 提交于 2019-12-11 21:27:38
问题 I am trying to implement the CI/CD process for my ASP.NET website. I have the build definition and release definition set up like this: But when I queue a new build, the release task complained "Error: No package found with specified pattern: D:\a\r1\a***.zip". I think this is because the zip file path in release definition is wrong. What should I do to make the build task and release task play together? 回答1: Your Archive task is after your Publish Artifacts task, so the zip file isn't

Not include certain folders in a continuous deployment with TFS (Skip Command?)

£可爱£侵袭症+ 提交于 2019-12-11 16:47:32
问题 Using Team Foundation Server continuous deployment with Web Depoly, is it possible to stop certain folders being deployed? And if it is, how? UPDATE You can't specify a skip rule via the command line (as in, an MSBuild Argument) because they are declared as items, not properties. A skip command can be specified in a publish profile. However it seems publish profiles are only for the inbuilt publishing in visual studio, not Web Deploy 3. Is there a way for Web Deploy to accept a publish

Setting up Continuous integration and continuous deployment for Microsoft Applications

▼魔方 西西 提交于 2019-12-11 16:17:51
问题 In my organization we have more than 200 Microsoft desktop and web applications. I am trying to setup the continuous integration and Continuous deployment for those application(I already did for Java applications). We already have the following tools at place Enterprises Github, Jenkins, Nexus, XL-Deploy and XL-Release. We have also developed a framework in groovy that is invoked by Jenkins and dose all the automatic job creations in Jenkins and push generated artifact into nexus. I want to

Continuous integration and Continuous deployment for Azure services in Github

拈花ヽ惹草 提交于 2019-12-11 16:12:59
问题 I need to do CI/CD for my Azure services like Azure Data Factory; Azure SQL DB;Azure SQL DWH; Azure Data Lake Analytics and my source code control is Github and don't have VSTS services in my project. How can this be done? 回答1: You can sign up for a free VSTS account (limited resources) which allows you to build a CI/CD pipeline, run load tests, etc. Find more details at: https://docs.microsoft.com/en-us/vsts/accounts/create-account-msa-or-work-student?view=vsts https://www.visualstudio.com

CI and Deployment with TFS and Powershell

瘦欲@ 提交于 2019-12-11 13:02:00
问题 I am working on a CI process with automated deployment. TFS Build is building the solution, and it then uses an InvokeProcess task to kick off a Powershell script. The Powershell script deploys the database changes as a dacpac using sqlpackage, reporting services reports using the web service, fonts to the SSRS server, and the website itself to 1 or more web servers - the whole process uses a deployment configuration file to define drop paths, server ips, installation folders etc. There will

Jenkins' homepage loading very slowly

旧街凉风 提交于 2019-12-11 12:47:56
问题 I setup a Jenkins server and created about 1,000 jobs. The problem I have is it takes roughly 5 minutes to load its homepage while takes less than 30 seconds to load other page (for example, configuration page) What is the reason of this problems? Is there anyway to fix them? 回答1: Create a new view with fewer jobs and set that to be your default view. If you get the Status View plugin, you can add all jobs to it, and filter by status "Failed". This gives you a view that you can call "All

Publish over ssh plugin - can't copy build archive

泄露秘密 提交于 2019-12-11 11:11:35
问题 I have been struggling for hours with this thing and I have spent time reading some of the suggested similar questions but couldn't find a hint or solution. I have a build job that creates a build archive. Then I have a separate deploy job that should take that archive and copy it over ssh to a remote environment. I am using the publish over ssh Jenkins plugin. Everything seems to go well except for the copy part. No files are copied to the remote location. I get the following: Started by

GitHub organization is not appearing in Continous Deployment page

醉酒当歌 提交于 2019-12-11 10:49:25
问题 My personal GitHub account is part of five organizations. When setting up Azure's continuous integration from GitHub, only four of the five organizations appear in the list. We have tried logging in and out of both GitHub and Azure. Also, we have tried changing the account in Azure and then re-adding the same account. Still it does not appear. How do we make the organization appear in the Azure Continuous Deployment page? Do we need to set specific permissions in GitHub? I am already a member

VSTS CI/CD definition as scripts

北慕城南 提交于 2019-12-11 05:59:20
问题 We are building a Microservices based architecture and we are having 50 odd CI and 50 odd CD pipelines. Is there a way to script the CI / CD Build and Release definitions? We want this to be a repeatable process and do not want to leave it to our DevOps engineer(s) as it is prone to errors. Please note that I am not talking about ARM (which is already being used by us). Is there a way to do the above? 回答1: For builds, you can use YAML builds, which are currently in preview. For releases,