From da898badfdc62c99835f64b66fbfe1ce4ab5e131 Mon Sep 17 00:00:00 2001 From: "oleg.vodyanov91@gmail.com" Date: Sun, 25 Jan 2026 00:34:28 +0400 Subject: [PATCH] change agent --- pipelines/docbot | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pipelines/docbot b/pipelines/docbot index 6135666..8f5c8c8 100644 --- a/pipelines/docbot +++ b/pipelines/docbot @@ -1,13 +1,5 @@ pipeline { - agent { - node { - label 'agent1' - } - docker { - image 'python:3.12-slim' - args '-u root' - } - } + agent { label = 'agent1' } environment { DOCKER_BUILDKIT = '1' IMAGE_NAME = 'registry.myinstalink.ru/docbot' @@ -17,6 +9,7 @@ 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