Solution: how to invoke commands on Linux in a remote PowerShell session from Jenkins agent and get error output to the build log.
An approach to have one PAT (Personal Access Token) for Azure DevOps in Jenkins Credentials and use it not only for getting source code from GIT, but also for getting NuGet packages for build.
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? […]
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 Personal […]