Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<meta-runner name="Meta (CaioProiete): Initialize build and set custom parameters">
<description>Initialize the build and set the value of some custom parameters that can be used during the build, such as version, timestamp, and others</description>
<settings>
<parameters>
<param name="mr.initialize_build.releaseBranch" value="%build.releaseBranch%" spec="text label='Release Branch:' description='The name of the branch from where production releases are generated' display='normal' validationMode='not_empty'" />
<param name="mr.initialize_build.verbose" value="SilentlyContinue" spec="checkbox checkedValue='Continue' description='Log verbose messages?' display='normal' label='Verbose:' uncheckedValue='SilentlyContinue'" />
</parameters>
<build-runners>
<runner name="Initialize build and set custom parameters" type="jetbrains_powershell">
@brunomlopes
brunomlopes / ravendb.py
Last active December 10, 2015 06:58 — forked from anonymous/ravendb.py
A very dumb and simple API to get and put objects from ravendb
# gist: https://gist.github.com/4397669
import logging, requests, simplejson
from datetime import datetime
dthandler = lambda obj: obj.isoformat() if isinstance(obj, datetime) else None
def dumps(obj):
return simplejson.dumps(obj, use_decimal=True, default=dthandler)
l = logging.getLogger("ravendb")