Generalized declarative Jenkinsfile

My wisely simplified Jenkinsfile template for most of my projects looks like: Why ‘Deploy’ is so deep in levels? In a declarative pipeline, unfortunately, we can’t combine ‘when’, ‘input’ and ‘lock’ in a reasonable way (check for branch, then ask for confirmation and then lock for deploy) using less levels. What ‘Checkout’ stage is for?Continue reading “Generalized declarative Jenkinsfile”

Jenkins CI and Azure DevOps with git and NuGet feed

I was building Jenkins pipeline last week and had to research how can I build dotnet code from Azure DevOps Git repository and use Azure DevOps NuGet feed. Despite the promise of harmony perfectness with Jenkins and Azure DevOps, there’s no connector between Jenkins and Azure DevOps Artifacts. Also, integration requires continuous maintenance because of PersonalContinue reading “Jenkins CI and Azure DevOps with git and NuGet feed”