Hi All, The MXNet team is in the process of making changes to the way Pull Requests trigger builds and run Tests. As the first part of this initiative, I made some changes to the Jenkinsfile in this PR <https://github.com/apache/incubator-mxnet/commit/4c0df6249d03841f5eb30e1428aa25fc230fed30> (to kill existing PR builds when a new build is triggered for the same PR).
However, as discussed in this JIRA ticket <https://issues.apache.org/jira/browse/INFRA-15176> these changes cannot be included in Apache Jenkins due to script approval requirements and associated security restrictions. These restrictions limit the power of a scripted pipeline in Jenkins and I am wondering if there is a workaround to this or a better solution to include such features. I would appreciate any help or suggestions! Note: MXNet uses a multibranch pipeline job called ‘incubator-mxnet’ that runs both the branch and PR builds via this Jenkinsfile <https://github.com/apache/incubator-mxnet/blob/master/Jenkinsfile>. Thanks, Meghna Baijal