Delete GIT tags from local and remote branch

Problem statement: Recently at work we have been playing around with the concept of automated builds and one build (master build) kicking off builds for multiple projects. The master build that kicked off multiple builds would kick off builds for all projects regardless of whether there were any code changes…

Automating Github releases via Jenkins

Recently at work we were discussing releasing internal python artifacts to Github. Github has the concept of releases[1]. Releases are a workflow for shipping software to end users. Releases are first-class objects with changelogs and binary assets that present a full project history beyond Git artifacts. They're accessible from…

How to display thread id in python logs

You can automatically add thread ids to your log statements using Python's logging module with LogRecord. LogRecord provides 2 attributes for thread related information: threadName and thread. %(thread)d : Thread ID (if available). %(threadName)s : Thread name (if available). For printing thread name: from logging import getLogger, getLevelName, Formatter, StreamHandler…