Build, test, scan and deploy on every push.

to GitHub or Cloud Source
on-premise · runs tests, scans for secrets, builds the image
keeps the newest 3 images
swaps in the new version, rolls back if it fails
keeps passwords and settings; Jenkins reads them on every run
Code lives in the cloud (GitHub, Google Cloud Source). Jenkins runs on ASJ's own servers.
every stage, one run