Files
TinderPokemon/Jenkinsfile
T
herel 0f959579bd
Gitea/TinderPokemon/pipeline/head This commit looks good
add Jenkinsfile
2022-10-24 16:41:49 +02:00

32 lines
565 B
Groovy

pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
metadata:
labels:
worker: tinderpokemon
spec:
containers:
- name: builder
image: python:3.10
command:
- cat
tty: true
'''
}
}
stages {
stage('Deploy') {
steps {
container('install pip') {
sh 'pip3 install python-swiftclient'
}
container('busybox') {
sh 'swift list'
}
}
}
}
}