pipeline { agent { label 'agent_smith' } stages { stage('Stop and Remove Existing Container') { steps { sh ''' docker stop parse_saby || true docker rm parse_saby || true ''' } } stage('Build and Run Container') { steps { sh ''' docker-compose up --build -d docker images docker run --rm git.dataekb.ru/sadikov/parse_saby/parse_saby_main:latest ''' } } } }