Sunday, November 27, 2011

Frameworks websites/companies uses

SpiderOak uses:
We use Python, Django, web.py, WSGI, jQuery, PostgreSQL, nginx, and varnish, with
some occasional heavy-lifting help from C and Erlang and perl.

From this blog post:
https://spideroak.com/blog/20101030125548-spideroak-is-growing-and-looking-for-remote-help-in-engineering-marketing-and-customer-service

Thursday, November 10, 2011

Powershell and Bamboo

We are using Bamboo for the doing our builds and doing remote SharePoint deployment as a part of the build.

As a part of a build job, while launching Powershell using the ‘Script’ task, the build never ends, and is seems to ‘hung’, it seems to be in an endless loop, going on for hours. There seems to be something weird with how the powershell is being launched by Bamboo agent.

Even a simple:

 

Powershell write-host “hello there”

 

 

The solution is to launch it using the regular old, command line and pass any powershell script as a parameters:

 

C:\Windows\System32\cmd.exe /c "echo Hesus | C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\powershell.exe %*"

 

Put this in the Argument:

scripts\RemoteWSPDeployment.ps1 –parameter1 value1 –parameter2 value2

 

 

And it works like a charm.

 


**********************  IMPORTANT--PLEASE READ  ************************
This electronic message, including its attachments, is COMPANY CONFIDENTIAL
and may contain PROPRIETARY or LEGALLY PRIVILEGED information.  If you are
not the intended recipient, you are hereby notified that any use, disclosure,
copying, or distribution of this message or any of the information included
in it is unauthorized and strictly prohibited.  If you have received this
message in error, please immediately notify the sender by reply e-mail and
permanently delete this message and its attachments, along with any copies
thereof. Thank you.
************************************************************************