|
|
|
@ -3,10 +3,13 @@ pipeline {
|
|
|
|
|
}
|
|
|
|
|
stages {
|
|
|
|
|
stage('GitCheckOut') {
|
|
|
|
|
steps{
|
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: "${env.CHECKOUT}"]], extensions: [], userRemoteConfigs: [[credentialsId: 'gitea', url: "$GIT_URL"]]])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
stage('buildPush') {
|
|
|
|
|
steps{
|
|
|
|
|
sh('''
|
|
|
|
|
echo "ADASDASDSADSADASD"
|
|
|
|
|
docker buildx create docker buildx create --bootstrap --name=jenkins-agent --driver=kubernetes --driver-opt=namespace=jenkinsagent --driver-opt=qemu.install=true --driver-opt=insecure=true
|
|
|
|
@ -14,6 +17,8 @@ stages {
|
|
|
|
|
''')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|