automated-deploy

How can I indicate the Git username and password in Capistrano's deploy.rb?

流过昼夜 提交于 2019-12-06 14:29:39
问题 I'm using github to store the repository, and I'm reading Deploy with Capistrano: Remote caching will keep a local git repo on the server you’re deploying to and simply run a fetch from that rather than an entire clone". Since the server where I'm deploying is "my" shared host , I must have git installed there. When we do that, we normally define a git username and git password. Where should we place those on this deploy.rb file? So far I have: set :application, "mysite.dev" set :user,

MSBuild - Getting the target called from command line

眉间皱痕 提交于 2019-12-05 12:58:54
问题 Does anyone know how to get the name of the TARGET (/t) called from the MSBuild command line? There are a few types of targets that can be called and I want to use that property in a notification to users. Example: msbuild Project.proj /t:ApplicationDeployment /p:Environment=DEV I want access to the target words ApplicationDeployment in my .Proj file. Is there a property I can access? Any clue how to do this? EDIT: I do not want to have to also pass in a property to get this. UPDATE: This is

How can I indicate the Git username and password in Capistrano's deploy.rb?

自作多情 提交于 2019-12-04 19:14:48
I'm using github to store the repository, and I'm reading Deploy with Capistrano : Remote caching will keep a local git repo on the server you’re deploying to and simply run a fetch from that rather than an entire clone". Since the server where I'm deploying is "my" shared host , I must have git installed there. When we do that, we normally define a git username and git password. Where should we place those on this deploy.rb file? So far I have: set :application, "mysite.dev" set :user, "myuser" set :repository, "git@github.com:gituser/gitproject.git" role :web, "dev.mysite.pt" set :deploy_to,

deployment tools under .NET solutions

前提是你 提交于 2019-12-04 05:14:05
We all do code, small (like one .exe) or big applications (complete solutions) with web applications, windows applications, databases, help files, configuration files and registry values... my question is simple, in my opinion that is, now that I need to deploy a web application and a windows application in just one installation setup: What do you use to the deployment of your applications, regarding creating of help files , database scripts so we can create a database and tables , create a virtual directory for the web applications, add registry values to work with our windows application? I

MSBuild - Getting the target called from command line

蹲街弑〆低调 提交于 2019-12-03 23:43:04
Does anyone know how to get the name of the TARGET (/t) called from the MSBuild command line? There are a few types of targets that can be called and I want to use that property in a notification to users. Example: msbuild Project.proj /t:ApplicationDeployment /p:Environment=DEV I want access to the target words ApplicationDeployment in my .Proj file. Is there a property I can access? Any clue how to do this? EDIT: I do not want to have to also pass in a property to get this. UPDATE: This is based on deployment scripts using MSBuild scripts. My build server is not used for deploying code, only

Automatic Deployment Resources

左心房为你撑大大i 提交于 2019-12-03 13:13:26
问题 I know enough to know that we need to get our application to deploy with a single user action. However, I don't know: What are some good tools to use in a .NET shop? How do you manage config changes for each of your environments? Can someone point me to some good resources for continous integration. I'd like to see some theory as well as a step by step practical guide. Edit: I'm in need to automated a web deployment right now; however, I'd also like to learn how to do this for desktop apps.

MSDeploy to install windows service?

血红的双手。 提交于 2019-12-03 08:22:34
问题 We have a website which publishes events using NServiceBus. The site is deployed using msdeploy. We also have the NServiceBus.exe which should run as a windows service to subscribe to these events, and we'd like to deploy that as well. Is there any way to package the service as well as the website, so that it can be installed as well? Is it possible to package separately so we can deploy it to another server? Any tips on where to find information on how to do this would be great, as we can do

Automatic Deployment Resources

帅比萌擦擦* 提交于 2019-12-03 04:11:21
I know enough to know that we need to get our application to deploy with a single user action. However, I don't know: What are some good tools to use in a .NET shop? How do you manage config changes for each of your environments? Can someone point me to some good resources for continous integration. I'd like to see some theory as well as a step by step practical guide. Edit: I'm in need to automated a web deployment right now; however, I'd also like to learn how to do this for desktop apps. I wrote a blog post that may be helpful: Visual Studio Web Deployment Projects It is a year and a half

How to display a hyperlink in hudson/jenkins build output console

六月ゝ 毕业季﹏ 提交于 2019-12-01 19:51:47
问题 How do I display a hyperlink (weblink) in hudson/jenkins build output console? What I'm trying to achieve is, during a hudson/jenkins build based on certain condition, I would like to display a hyperlink. When a user click on that link, it should open a new browser window and show the page. Is there a plugin to do this? Any suggestions please? 回答1: If you enter, for example: echo 'http://example.com' in a Build step Execute shell → Command the address will be hyperlinked in the Console Output

Deploy with Jenkins to VPN

杀马特。学长 韩版系。学妹 提交于 2019-12-01 18:39:42
问题 My general goal is to automate deployment to a server in a VPN. Currently the VPNs are Cisco AnyConnect and Barracuda, but a more universal solution would be nice. I thought about using Jenkins, but the only relevant resource that I found is this plugin https://wiki.jenkins-ci.org/display/JENKINS/OpenConnect+Plugin , which might solve the problem for AnyConnect but not for Barracuda. I woud prefer Jenkins but I am opened for any other free tool that is better suited for this job. 回答1: On