You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running in Jenkins import com.cloudbees.groovy.cps.NonCPS is not needed to use @NonCPS. Is it possible to do this with jenkins-pipeline-shared-libraries-gradle-plugin? Or maybe I'm missing something?
The text was updated successfully, but these errors were encountered:
If you do it right now with this plugin you will get some sort of undefined NonCps or something during compilation and it will fail. This is probably achievable in the meantime by doing something similar to #69
It might be more of a pain to bake into this directly into the plugin as some users (like the linked issue) use their own compiler configuration and both Gradle/Groovy do not have an easy way to specify multiple configurations (see GROOVY-8926).
When running in Jenkins
import com.cloudbees.groovy.cps.NonCPS
is not needed to use@NonCPS
. Is it possible to do this withjenkins-pipeline-shared-libraries-gradle-plugin
? Or maybe I'm missing something?The text was updated successfully, but these errors were encountered: