This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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") |