From 28632733f1909b2d0a739e77d4397f7b1ee3def4 Mon Sep 17 00:00:00 2001 From: "oleg.vodyanov91@gmail.com" Date: Sat, 24 Jan 2026 23:40:16 +0400 Subject: [PATCH] change agent --- pipelines/docbot | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pipelines/docbot b/pipelines/docbot index 84edd5d..2d2d088 100644 --- a/pipelines/docbot +++ b/pipelines/docbot @@ -1,5 +1,10 @@ pipeline { - agent { docker } + agent { + docker { + image 'python:3.12-slim' + args '-u root' + } + } environment { DOCKER_BUILDKIT = '1' IMAGE_NAME = 'registry.myinstalink.ru/docbot' @@ -9,7 +14,6 @@ pipeline { steps { checkout scm } } stage('Lint/Test/Sec'){ - agent { docker { image 'python:3.12-slim' args '-u root' } } steps { sh ''' apt-get update && apt-get install -y build-essential libpq-dev curl jq