pull/2/head
Nathan Wagner 2 years ago
parent 708775f213
commit 11a4d9a0ec

5
Jenkinsfile vendored

@ -3,10 +3,13 @@ pipeline {
} }
stages { stages {
stage('GitCheckOut') { stage('GitCheckOut') {
steps{
checkout([$class: 'GitSCM', branches: [[name: "${env.CHECKOUT}"]], extensions: [], userRemoteConfigs: [[credentialsId: 'gitea', url: "$GIT_URL"]]]) checkout([$class: 'GitSCM', branches: [[name: "${env.CHECKOUT}"]], extensions: [], userRemoteConfigs: [[credentialsId: 'gitea', url: "$GIT_URL"]]])
}
} }
stage('buildPush') { stage('buildPush') {
steps{
sh(''' sh('''
echo "ADASDASDSADSADASD" 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 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 {
''') ''')
} }
} }
} }
}

Loading…
Cancel
Save