change agent
This commit is contained in:
parent
f0db82717b
commit
28632733f1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user