Menu

Day 71: One Command, Two Machines
📰

Day 71: One Command, Two Machines

DEV Community: cicd·Nnamdi Felix Ibe·2 days ago
#rMT40BSn
#devtocicd#devto#dev#jenkins#exit
Reading 0:00
15s threshold

Day 71 of DevOps, Day 21 of Azure. Both tasks today turned on the same mistake: treating one line of a command as one unit of work.

A Jenkins build step I wrote as a single remote command was actually two commands on two different machines, and only one of them reached the server I meant. An az vm create I thought of as one command turned out to be a deployment of six resources, so when it failed, five of them stayed behind.

One Jenkins task, one Azure task. Build a parameterised job that installs a package on a remote host, then gives a VM a static public IP.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.