node("my-node-provisioner", docker_image="internal/jenkins-worker:v12", memory_limit="4GB") {
// my steps here
}
The kubernetes plugin does that, so you can check for inspiration
https://github.com/jenkinsci/kubernetes-plugin/blob/master/README.md#pipeline-support
It would be nice to have a common syntax across container provisioners
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr166Uu4%2BjQn%2By5_Yy8%3DzuvBor_ADLqidr0K_0%2BzyWG7Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
The kubernetes plugin does that, so you can check for inspiration
https://github.com/jenkinsci/kubernetes-plugin/blob/master/README.md#pipeline-supportIt would be nice to have a common syntax across container provisioners