You can easily use Polyaxon in your Jenkins pipelines.
Starting with Jenkins Pipeline versions 2.5 and higher, Jenkins Pipeline has built-in support for interacting with Docker from within a Jenkinsfile.
Polyaxon as a Jenkins Pipeline stage
pipeline {
agent {
docker { image 'polyaxon:polyaxon-cli:1.x.x' }
}
stages {
stage('Submit') {
steps {
sh 'polyaxon run -f path/to/polyaxonfile'
}
}
}
}
Tip: Polyaxon provides a native DAG runtime for managing your operations dependencies in a simple and efficient way.