5 ms·
Someone created a jenkins pipeline that would deploy code in a zip file into prod.
by WrtCdEvrydy 8y ago
Someone created a jenkins pipeline that would deploy code in a zip file into prod.
- mattmanser 8y agoAm I missing something? Isn't this exactly how deployment servers actually work? I'm not into Java development, but this sounds fine on the face of it, without you giving the context of how this pipeline is triggered.
- WrtCdEvrydy 8y agoDevelopers had a copy of code in a google drive... they'd modify it, zip it and overwrite the one in google drive, copy it to the network folder which would deploy it and delete it from the network folder... in 2016.
- Bartweiss 8y agoIn theory it sounds alright. It's not great, because Jenkins is usually layered with some existing deploy framework that makes "deploy a zip file" pretty suspect. A healthier setup would look more like "build a Tomcat war file Maven, upload and deploy that with Jenkins". But in context, it sounds like the horror is that people were making and transferring a zip from local code rather than building from the tip of source control.
- debaserab2 8y agoThat’s a pretty standard CI process - zip files are often your deploy artifact (using, for example, git archive)
- WrtCdEvrydy 8y agoYeah, except the zip file was... the input. You pulled the code from google drive, modified it, pushed it to PROD, checked it and moved it back to google drive... and asked the other developers to update.