You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rgb-led-board/Jenkinsfile

23 lines
580 B
Plaintext

pipeline {
stages {
stage('GitCheckOut') {
2 years ago
steps{
checkout([$class: 'GitSCM', branches: [[name: "${env.CHECKOUT}"]], extensions: [], userRemoteConfigs: [[credentialsId: 'gitea', url: "$GIT_URL"]]])
2 years ago
}
}
stage('buildPush') {
2 years ago
steps{
sh('''
2 years ago
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 build . -t registry.local:/rgbBoard:v0.0.1 --push --platform=linux/arm64,linux/amd64
''')
}
2 years ago
}
}
2 years ago
}