diff --git a/Jenkinsfile b/Jenkinsfile index 154d6ae6..0d111fcf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,4 +8,18 @@ def configurations = [ [ platform: "linux", jdk: "11", jenkins: recentLTS ], ] -buildPlugin(configurations: configurations) \ No newline at end of file +pipeline { + agent any + environment { + JAVA_TOOL_OPTIONS = '-javaagent:non-existing-file.jar' + } + stages { + stage('Build Plugin') { + steps { + script { + buildPlugin(configurations: configurations) + } + } + } + } +}