Cruisecontrol.net to deploy msi - deployment

Is it possible to deploy an MSI to remote server and run database script on sql server using CruiseControl.net? I am new to CruiseControl.Net and looking for an example.
I tried the below wiki page but deployment page is under construction:
http://www.cruisecontrolnet.org/projects/ccnet/wiki/Configuration

You can have CruiseControl.net call either PowerShell or Batch file. More info on the CruiseControl.net config to call PowerShell or Batch file can be found here.
From the PowerShell or Batch file you can use PSExec to install MSI file for a remote server. As for running database scripts on remote server you can use SqlCmd .

Related

Download file on computer From Rundeck

Is it possible to download a file from a server through a script Rundeck on my personnal computer ?
Regards,
Frédéric
First scenario. The Rundeck server is running on your machine: just using a script with curl / wget to download the file locally (using a local path).
Second scenario. The Rundeck server isn't on your computer: just set up an HTTP/bucket server, and print the download link in the Rundeck job output.

How to run a GitHub Enterprise action runner as an administrator to allow scripts to run with elevated privileges?

I'm using GitHub Enterprise with a self-hosted runner that runs on my dev server to accept the build and deploy commands to that server. The build steps are running successfully, but I'm struggling with the deploy steps. The application that is being deployed is an IIS application and I'm trying to run a powershell script I've written to perform the IIS update (stops the IIS server, copies build package contents over to inetpub, starts the IIS server). When the runner executes this script, it fails because it doesn't have permissions to replace the inetpub contents, among other permissions issues. Until now with GitHub Enterprise, I would just run this step as administrator, but I can't find a way to elevate the runner's privileges to do so. Is there syntax for this? This is what I'm currently trying:
- name: Deploy
shell: cmd
run: |
cd myBuildLocation
powershell -file deployrelease.ps1 -inetpubPath C:\inetpub\mySiteName

Rundeck - Execute ansible playbook on a remote ansible server

New in Rundeck
What i'm trying to achieve with rundeck is the following -
to let a windows user connect rundeck and execute predefined ansible playbooks that are located on a remote ansible server. Doing this will not require the user to connect the ansible server (i dont need to share password) and only approved user that can login to rundeck can run the scripts
Is it possible to install Rundeck on a windows machine and execute ansible scripts that are located on a remote ansible server?
Can i see the playbook output on rundeck UI?
If not, should I run rundeck on the local ansible server?
Can i have all the above using the community Rundeck version ?
By design Rundeck and Ansible must coexist in the same server to use the Ansible plugin but, you can dispatch Ansible commands (ansible-playbook) on remote servers using the command step.

Checking out code to a remote server via powershell

I am trying to run a batch file that checks out code from a repo. This file is on a different server and i am trying to run it using powershell from my local machine after enabling remoting. when I use Invoke command nothing is returned on my powershell. If i directly try to checkout the code using svn command to the remote server i get svn access forbidden error. Is there a way to resolve this

Execute remote PowerShell script from VSOnline fails - Access Denied

I am facing a very strange issue trying to run a Remote PowerShell script from the new build system of Visual Studio Online.
Context:
I have a Build server that I host on my own VM. I have also created a second VM where I want the PowerShell script to be run on.
When I run a build from the Build server, I want to create a task that run a PowerShell script on a remote machine. Sounds easy.
Both machines have everything configured to run the Remote PowerShell. (I think)
Problem:
If I manually run the script from the build server, the script is properly executed on my remote machine.
But, if I run the script by starting a new build, it doesn't work, I always get an error message
New-PSSession : [xxx.cloudapp.net] Connecting to remote server xxx.cloudapp.net failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
Have you faced this issue before with VSOnline?
This can happen if there isn't a trust relationship between the remote machine and the build machine. E.g. you could look at the hosts.equiv file on the remote machine and make sure it trusts the build machine.
If that doesn't help then more info might be needed, like how you're trying to sign in, what build agent account you're running as.
Guy