change agent

This commit is contained in:
oleg.vodyanov91@gmail.com 2026-01-24 23:37:34 +04:00
parent c4142cb99b
commit f0db82717b

View File

@ -1,5 +1,5 @@
pipeline {
agent { any }
agent { docker }
environment {
DOCKER_BUILDKIT = '1'
IMAGE_NAME = 'registry.myinstalink.ru/docbot'
@ -9,7 +9,7 @@ pipeline {
steps { checkout scm }
}
stage('Lint/Test/Sec'){
agent { any { image 'python:3.12-slim' args '-u root' } }
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