Linux Hudson, Windows build - windows

I have Hudson installed on Linux. Compiling and testing Linux releases works fine. But I would like to build and test also Windows releases using Visual Studio. I already have .bat script that runs building, but I don't know how can I connect it to Hudson.

Why not just install Hudson on a Windows machine and have it build the same code set?

You should use the Slave launchers, for example:
ssh slaves
copy to slave
You may need to install an ssh server on your windows computer.

Related

TFS Mac agent not running as a service

I am using TFS 2018. I have a Mac agent. Its configured success and run well. Now i want to run this agent as a service in Mac machine. To do it we need to run ./svc.sh file. But I run ./svc.sh file. agent is not running in TFS, it shows offline.
Restart Mac machine its worked for me.

Copy files from Jenkins server (Linux) to Windows 2003 Share location

I am trying to connect to a Windows 2003 server from Jenkins box (Linux).
Adding a Jenkins slave is kind of difficult as I am struggling to install Java version to work with the agent. I am also not able to get the exact steps to install ssh server for windows which might solve my problem.
Thanks in advance.

How to configure my sql in phabricator

How to run this cmd in windows OS
phabricator/ $ ./bin/storage upgrade
I am configuring the phabricator in windows machine using following post.
https://secure.phabricator.com/book/phabricator/article/configuration_guide/
other than configuring mysql everything is done.
https://secure.phabricator.com/book/phabricator/article/installation_guide/
To install the Phabricator server software, you will need an operating system on your normal computer which is not Windows. Note that the command line interface does work on Windows, and you can use Phabricator from any operating system with a web browser. However, the server software does not run on Windows. It does run on most other operating systems, so choose one of these instead:

Mupx setup hangs on Installing Docker

The installer hangs when I use mupx setup on the first thing in the TaskList, Installing Docker. I can't get the DEBUG=* mupx setup to work because DEBUG is not recognized as an internal or external command.
Server is through Linode, and the OS is Ubuntu 16.04. I'm running Windows 8.1. My project works fine on my end but I can't figure out mupx enough to get it over. Docker is working fine on my computer as well as on my server from what I can tell.
How can I get the DEBUG to work (either a setting or a download)? Or is this a common issue someone can walk me through?
Did you run "mupx setup" first? That will install Docker and setup a new container on the remote server you entered into your local mup.json file

Jenkins PowerShell plugin unable to execute script - "ERROR: The target system must be running a 32 bit OS"

I'm trying to run a PowerShell script using the Jenkins PowerShell plugin and the script produces the following error:
"ERROR: The target system must be running a 32 bit OS"
The slave runs on a Windows 2008 R2 Server and the script runs well locally and remotely from my Windows 7/x64 desktop but it won't run through the plugin.
I also tried to run it using a Windows batch command plugin and that wouldn't work either - same error message.
I narrowed the issue and found the line that produces the error:
$results = openfiles /query /fo csv | Select-String $versionPath
It looks like the OPENFILES command causes the problem and i think it is because Jenkins starts the x86 version of PowerShell but i'm not sure what needs to be done so it will run on the right CPU architecture.
Any help will be appreciated.
Like i thought, Jenkins is running the jobs using the x86 versions of CMD and PowerShell.
To get them running using their x64 versions i had to run the slave with the x64 version of Java.
The following solution came much later but that's the best way to go:
Make sure you don't have any x86 versions of Java installed on your server. If you have 32bit Java versions installed, Jenkins slave will use these versions to run your jobs. x64 versions of Java can be downloaded here.
Start the x64 version of Internet Explorer on your server and go to the 'Manage Nodes' page in Jenkins to install the slave on your server.
Finally - install the slave as a Windows Service.

Resources