blob: b1e0a7fb59c2e417044d0f76326c0b2ed18ebec3 [file] [log] [blame]
pipeline {
agent {
kubernetes {
label 'basyx-' + env.BRANCH_NAME + '-' + env.BUILD_NUMBER
yaml """
apiVersion: v1
kind: Pod
spec:
containers:
- name: cpp
image: iesetps/basyx-ci-cpp:latest
resources:
requests:
memory: "4Gi"
cpu: "2.00"
limits:
memory: "4Gi"
cpu: "2.00"
command:
- cat
tty: true
"""
}
}
stages {
stage('C++ SDK Tests') {
steps {
container('cpp') {
sh '''
chmod +x ./ci/build_cpp.sh
./ci/build_cpp.sh
'''
}
}
}
}
}