You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

create_jobs.groovy 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. // This script is used as input to the Jenkins Job DSL plugin to create all the build-jobs that
  2. // Apache POI uses on the public Jenkins instance at https://builds.apache.org/view/P/view/POI/
  3. //
  4. // See https://github.com/jenkinsci/job-dsl-plugin/wiki for information about the DSL, you can
  5. // use http://job-dsl.herokuapp.com/ to validate the code before checkin
  6. //
  7. def triggerSundays = '''
  8. # only run this once per week on Sundays
  9. H H * * 0
  10. '''
  11. def findbugs2Url = 'http://downloads.sourceforge.net/project/findbugs/findbugs/2.0.3/findbugs-noUpdateChecks-2.0.3.zip?download='
  12. def findbugs2Lib = 'lib/findbugs-noUpdateChecks-2.0.3.zip'
  13. def findbugs3Url = 'http://downloads.sourceforge.net/project/findbugs/findbugs/3.0.1/findbugs-noUpdateChecks-3.0.1.zip?download='
  14. def findbugs3Lib = 'lib/findbugs-noUpdateChecks-3.0.1.zip'
  15. def xercesUrl = 'http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar'
  16. def xercesLib = 'compile-lib/xercesImpl-2.6.1.jar'
  17. def poijobs = [
  18. [ name: 'POI-DSL-1.6', jdk: '1.6',
  19. // workaround as Sourceforge does not accept any of the SSL ciphers in JDK 6 any more and thus we cannot download this jar
  20. // as part of the Ant build
  21. addShell: "wget -O ${findbugs2Lib} ${findbugs2Url}",
  22. disabled: true
  23. ],
  24. [ name: 'POI-DSL-1.8', trigger: 'H */12 * * *'
  25. ],
  26. [ name: 'POI-DSL-OpenJDK', jdk: 'OpenJDK', trigger: 'H */12 * * *',
  27. // H13-H20 (Ubuntu 16.04) do not have OpenJDK 6 installed, see https://issues.apache.org/jira/browse/INFRA-12880
  28. slaveAdd: '&&!beam1&&!beam2&&!beam3&&!beam4&&!beam5&&!beam6&&!beam7&&!beam8' +
  29. '&&!H0&&!H1&&!H2&&!H3&&!H4&&!H5&&!H6&&!H7&&!H8&&!H9&&!H10&&!H11' +
  30. '&&!qnode3' +
  31. '&&!ubuntu-1&&!ubuntu-2&&!ubuntu-4&&!ubuntu-5&&!ubuntu-6&&!ubuntu-eu2&&!ubuntu-us1',
  32. // the JDK is missing on some slaves so builds are unstable
  33. skipcigame: true
  34. ],
  35. [ name: 'POI-DSL-1.9', jdk: '1.9', trigger: triggerSundays,
  36. properties: ['-Djava9addmods=--add-modules=java.xml.bind',
  37. '-Djavadoc9addmods=--add-modules=java.xml.bind',
  38. '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true',
  39. '-Djava9addopens1=--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED',
  40. '-Djava9addopens2=--add-opens=java.base/java.io=ALL-UNNAMED',
  41. '-Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED',
  42. '-Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED',
  43. '-Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED',
  44. '-Djava.locale.providers=JRE,CLDR'],
  45. skipcigame: true
  46. ],
  47. [ name: 'POI-DSL-IBM-JDK', jdk: 'IBMJDK', trigger: triggerSundays,
  48. // some OOXML tests fail with strange XML parsing errors and missing JCE unlimited strength requirements
  49. disabled: true, skipcigame: true
  50. ],
  51. [ name: 'POI-DSL-old-Xerces', trigger: triggerSundays,
  52. shell: "mkdir -p compile-lib && test -f ${xercesLib} || wget -O ${xercesLib} ${xercesUrl}\n",
  53. // the property triggers using Xerces as XML Parser and previously showed some exception that can occur
  54. properties: ["-Dadditionaljar=${xercesLib}"],
  55. // workaround as Sourceforge does not accept any of the SSL ciphers in JDK 6 any more and thus we cannot download this jar
  56. // as part of the Ant build
  57. addShell: "wget -O ${findbugs2Lib} ${findbugs2Url}"
  58. ],
  59. [ name: 'POI-DSL-Maven', trigger: 'H */4 * * *', maven: true
  60. ],
  61. [ name: 'POI-DSL-regenerate-javadoc', trigger: triggerSundays, javadoc: true
  62. ],
  63. [ name: 'POI-DSL-API-Check', trigger: '@daily', apicheck: true
  64. ],
  65. [ name: 'POI-DSL-Gradle', trigger: triggerSundays, email: 'centic@apache.org', gradle: true,
  66. // Gradle will not run any tests if the code is up-to-date, therefore manually mark the files as updated
  67. addShell: 'touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml'
  68. ],
  69. [ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true
  70. ],
  71. [ name: 'POI-DSL-SonarQube', trigger: 'H 9 * * *', maven: true, sonar: true, skipcigame: true,
  72. disabled: true // try to use the Gradle-based run so we can get rid of the Maven buildsystem
  73. ],
  74. [ name: 'POI-DSL-SonarQube-Gradle', trigger: 'H 9 * * *', gradle: true, sonar: true, skipcigame: true
  75. ],
  76. [ name: 'POI-DSL-Windows-1.6', jdk: '1.6', trigger: 'H */12 * * *', windows: true, slaves: 'Windows',
  77. addShell: "@if not exist ${findbugs2Lib} powershell -Command wget -Uri \"${findbugs2Url}\" -OutFile ${findbugs2Lib} -UserAgent [Microsoft.PowerShell.Commands.PSUsergAgent]::Chrome",
  78. disabled: true
  79. ],
  80. [ name: 'POI-DSL-Windows-1.7', jdk: '1.7', trigger: 'H */12 * * *', windows: true, slaves: 'Windows',
  81. addShell: "@if not exist ${findbugs3Lib} powershell -Command wget -Uri \"${findbugs3Url}\" -OutFile ${findbugs3Lib} -UserAgent [Microsoft.PowerShell.Commands.PSUsergAgent]::Chrome",
  82. disabled: true
  83. ],
  84. [ name: 'POI-DSL-Windows-1.8', trigger: 'H */12 * * *', windows: true, slaves: 'Windows'
  85. ],
  86. ]
  87. def svnBase = 'https://svn.apache.org/repos/asf/poi/trunk'
  88. def defaultJdk = '1.8'
  89. def defaultTrigger = 'H/15 * * * *' // check SCM every 60/15 = 4 minutes
  90. def defaultEmail = 'dev@poi.apache.org'
  91. def defaultAnt = 'Ant 1.9.9'
  92. // currently a lot of H?? slaves don't have Ant installed ... H21 seems to have a SVN problem
  93. def defaultSlaves = 'ubuntu&&!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21'
  94. def jdkMapping = [
  95. '1.6': 'JDK 1.6 (latest)',
  96. '1.7': 'JDK 1.7 (latest)',
  97. '1.8': 'JDK 1.8 (latest)',
  98. '1.9': 'JDK 1.9 (latest)',
  99. 'OpenJDK': 'OpenJDK 8 (on Ubuntu only) ', // blank is required here until the name in the Jenkins instance is fixed!
  100. 'IBMJDK': 'IBM 1.8 64-bit (on Ubuntu only)',
  101. ]
  102. static def shellEx(def context, String cmd, def poijob) {
  103. if (poijob.windows) {
  104. context.batchFile(cmd)
  105. } else {
  106. context.shell(cmd)
  107. }
  108. }
  109. def defaultDesc = '''
  110. <img src="https://poi.apache.org/resources/images/project-logo.jpg" />
  111. <p>
  112. Apache POI - the Java API for Microsoft Documents
  113. </p>
  114. <p>
  115. <b>This is an automatically generated Job Config, do not edit it here!
  116. Instead change the Jenkins Job DSL at <a href="https://svn.apache.org/repos/asf/poi/trunk/jenkins">https://svn.apache.org/repos/asf/poi/trunk/jenkins</a>,
  117. see <a href="https://github.com/jenkinsci/job-dsl-plugin/wiki">https://github.com/jenkinsci/job-dsl-plugin/wiki</a>
  118. for more details about the DSL.</b>
  119. </p>'''
  120. def apicheckDesc = '''
  121. <p>
  122. <b><a href="https://builds.apache.org/analysis/dashboard?id=org.apache.poi%3Apoi-parent&did=1" target="_blank">Sonar reports</a></b> -
  123. <p>
  124. <b><a href="lastSuccessfulBuild/artifact/build/main/build/reports/japi.html">API Check POI</a></b>
  125. <b><a href="lastSuccessfulBuild/artifact/build/ooxml/build/reports/japi.html">API Check POI-OOXML</a></b>
  126. <b><a href="lastSuccessfulBuild/artifact/build/excelant/build/reports/japi.html">API Check POI-Excelant</a></b>
  127. <b><a href="lastSuccessfulBuild/artifact/build/scratchpad/build/reports/japi.html">API Check POI-Scratchpad</a></b>
  128. </p>
  129. '''
  130. def sonarDesc = '''
  131. <p>
  132. <b><a href="lastSuccessfulBuild/findbugsResult/" target="_blank">Findbugs report of latest build</a></b> -
  133. <b><a href="https://builds.apache.org/analysis/dashboard?id=org.apache.poi%3Apoi-parent&did=1" target="_blank">Sonar reports</a></b> -
  134. <b><a href="lastSuccessfulBuild/artifact/build/coverage/index.html" target="_blank">Coverage of latest build</a></b>
  135. </p>
  136. '''
  137. def shellCmdsUnix =
  138. '''# show which files are currently modified in the working copy
  139. svn status
  140. # print out information about which exact version of java we are using
  141. echo Java-Home: $JAVA_HOME
  142. ls -al $JAVA_HOME/
  143. $JAVA_HOME/bin/java -version
  144. POIJOBSHELL
  145. # ignore any error message
  146. exit 0'''
  147. def shellCmdsWin =
  148. '''@echo off
  149. :: show which files are currently modified in the working copy
  150. svn status
  151. :: print out information about which exact version of java we are using
  152. echo Java-Home: %JAVA_HOME%
  153. dir "%JAVA_HOME:\\\\=\\%"
  154. "%JAVA_HOME%/bin/java" -version
  155. POIJOBSHELL
  156. :: ignore any error message
  157. exit /b 0'''
  158. poijobs.each { poijob ->
  159. def jdkKey = poijob.jdk ?: defaultJdk
  160. def trigger = poijob.trigger ?: defaultTrigger
  161. def email = poijob.email ?: defaultEmail
  162. def slaves = poijob.slaves ?: defaultSlaves + (poijob.slaveAdd ?: '')
  163. def antRT = defaultAnt + (poijob.windows ? ' (Windows)' : '')
  164. job(poijob.name) {
  165. if (poijob.disabled) {
  166. disabled()
  167. }
  168. description( defaultDesc + (poijob.apicheck ? apicheckDesc : sonarDesc) )
  169. logRotator {
  170. numToKeep(5)
  171. artifactNumToKeep(1)
  172. }
  173. label(slaves)
  174. environmentVariables {
  175. env('LANG', 'en_US.UTF-8')
  176. if(jdkKey == '1.9') {
  177. // when using JDK 9 for running Ant, we need to provide more packages for the forbidden-api-checks task
  178. env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
  179. }
  180. }
  181. wrappers {
  182. /* Plugin seems to be missing: Warning: (create_jobs.groovy, line 202) version 1.13 or later of plugin 'build-timeout' needs to be installed
  183. timeout {
  184. absolute(180)
  185. abortBuild()
  186. writeDescription('Build was aborted due to timeout')
  187. }*/
  188. if(poijob.sonar) {
  189. configure { project ->
  190. project / buildWrappers << 'hudson.plugins.sonar.SonarBuildWrapper' {}
  191. }
  192. }
  193. }
  194. jdk(jdkMapping.get(jdkKey))
  195. scm {
  196. svn(svnBase) { svnNode ->
  197. svnNode / browser(class: 'hudson.scm.browsers.ViewSVN') /
  198. url << 'http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN'
  199. }
  200. }
  201. checkoutRetryCount(3)
  202. triggers {
  203. scm(trigger)
  204. }
  205. def shellcmds = (poijob.windows ? shellCmdsWin : shellCmdsUnix).replace('POIJOBSHELL', poijob.shell ?: '')
  206. // Create steps and publishers depending on the type of Job that is selected
  207. if(poijob.maven) {
  208. steps {
  209. shellEx(delegate, shellcmds, poijob)
  210. maven {
  211. goals('clean')
  212. rootPOM('sonar/pom.xml')
  213. localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
  214. mavenInstallation('maven-3.2.1')
  215. }
  216. /* Currently not done, let's see if it is still necessary:
  217. # Maven-Download fails for strange reasons, try to workaround...
  218. mkdir -p sonar/ooxml-schema-security/target/schemas && wget -O sonar/ooxml-schema-security/target/schemas/xmldsig-core-schema.xsd http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
  219. */
  220. maven {
  221. if(poijob.sonar) {
  222. goals('compile $SONAR_MAVEN_GOAL -Dsonar.host.url=$SONAR_HOST_URL')
  223. } else {
  224. goals('package')
  225. }
  226. rootPOM('sonar/pom.xml')
  227. mavenOpts('-Xmx2g')
  228. mavenOpts('-Xms256m')
  229. mavenOpts('-XX:-OmitStackTraceInFastThrow')
  230. localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
  231. mavenInstallation('maven-3.2.1')
  232. }
  233. }
  234. publishers {
  235. if (!poijob.skipcigame) {
  236. configure { project ->
  237. project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
  238. }
  239. }
  240. mailer(email, false, false)
  241. }
  242. } else if (poijob.javadoc) {
  243. steps {
  244. shellEx(delegate, shellcmds, poijob)
  245. ant {
  246. targets(['clean', 'javadocs'] + (poijob.properties ?: []))
  247. prop('coverage.enabled', true)
  248. // Properties did not work, so I had to use targets instead
  249. //properties(poijob.properties ?: '')
  250. antInstallation(antRT)
  251. }
  252. shellEx(delegate, 'zip -r build/javadocs.zip build/tmp/site/build/site/apidocs', poijob)
  253. }
  254. publishers {
  255. if (!poijob.skipcigame) {
  256. configure { project ->
  257. project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
  258. }
  259. }
  260. mailer(email, false, false)
  261. }
  262. } else if (poijob.apicheck) {
  263. steps {
  264. shellEx(delegate, shellcmds, poijob)
  265. gradle {
  266. tasks('japicmp')
  267. useWrapper(false)
  268. }
  269. }
  270. publishers {
  271. archiveArtifacts('build/*/build/reports/japi.html')
  272. if (!poijob.skipcigame) {
  273. configure { project ->
  274. project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
  275. }
  276. }
  277. mailer(email, false, false)
  278. }
  279. } else if(poijob.sonar) {
  280. steps {
  281. shellEx(delegate, shellcmds, poijob)
  282. gradle {
  283. switches('-PenableSonar')
  284. switches('-Dsonar.host.url=$SONAR_HOST_URL')
  285. tasks('sonarqube')
  286. useWrapper(false)
  287. }
  288. }
  289. publishers {
  290. if (!poijob.skipcigame) {
  291. configure { project ->
  292. project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
  293. }
  294. }
  295. mailer(email, false, false)
  296. }
  297. } else {
  298. steps {
  299. shellEx(delegate, shellcmds, poijob)
  300. if(poijob.addShell) {
  301. shellEx(delegate, poijob.addShell, poijob)
  302. }
  303. // For Jobs that should still have the default set of publishers we can configure different steps here
  304. if(poijob.gradle) {
  305. gradle {
  306. tasks('check')
  307. useWrapper(false)
  308. }
  309. } else if (poijob.noScratchpad) {
  310. ant {
  311. targets(['clean', 'compile-all'] + (poijob.properties ?: []))
  312. prop('coverage.enabled', true)
  313. antInstallation(antRT)
  314. }
  315. ant {
  316. targets(['-Dscratchpad.ignore=true', 'jacocotask', 'test-all', 'testcoveragereport'] + (poijob.properties ?: []))
  317. prop('coverage.enabled', true)
  318. antInstallation(antRT)
  319. }
  320. } else {
  321. ant {
  322. targets(['clean', 'jenkins'] + (poijob.properties ?: []))
  323. prop('coverage.enabled', true)
  324. // Properties did not work, so I had to use targets instead
  325. //properties(poijob.properties ?: '')
  326. antInstallation(antRT)
  327. }
  328. ant {
  329. targets(['run'] + (poijob.properties ?: []))
  330. buildFile('src/integrationtest/build.xml')
  331. // Properties did not work, so I had to use targets instead
  332. //properties(poijob.properties ?: '')
  333. antInstallation(antRT)
  334. }
  335. }
  336. }
  337. publishers {
  338. findbugs('build/findbugs.xml', false) {
  339. healthLimits(3, 20)
  340. thresholdLimit('low')
  341. defaultEncoding('UTF-8')
  342. }
  343. // in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
  344. archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,build/integration-test-results/**,ooxml-lib/**,build/*/build/libs/*.jar')
  345. warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
  346. resolveRelativePaths()
  347. }
  348. archiveJunit('build/ooxml-test-results/*.xml,build/scratchpad-test-results/*.xml,build/test-results/*.xml,build/excelant-test-results/*.xml,build/integration-test-results/*.xml,build/*/build/test-results/test/TEST-*.xml,build/*/build/test-results/TEST-*.xml') {
  349. testDataPublishers {
  350. publishTestStabilityData()
  351. }
  352. }
  353. jacocoCodeCoverage {
  354. classPattern('build/classes,build/excelant-classes,build/ooxml-classes,build/scratchpad-classes,build/*/build/classes')
  355. execPattern('build/*.exec,build/*/build/jacoco/*.exec')
  356. sourcePattern('src/java,src/excelant/java,src/ooxml/java,src/scratchpad/src')
  357. exclusionPattern('com/microsoft/**,org/openxmlformats/**,org/etsi/**,org/w3/**,schemaorg*/**,schemasMicrosoft*/**,org/apache/poi/hdf/model/hdftypes/definitions/*.class,org/apache/poi/hwpf/model/types/*.class,org/apache/poi/hssf/usermodel/DummyGraphics2d.class,org/apache/poi/sl/draw/binding/*.class')
  358. }
  359. if (!poijob.skipcigame) {
  360. configure { project ->
  361. project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
  362. }
  363. }
  364. mailer(email, false, false)
  365. }
  366. }
  367. }
  368. }
  369. /*
  370. Add a special job which spans a two-dimensional matrix of all JDKs that we want to use and
  371. all slaves that we would like to use and test if the java and ant binaries are available
  372. on that machine correctly.
  373. */
  374. matrixJob('POI-DSL-Test-Environment') {
  375. description(
  376. '''
  377. Check installed version of Java/Ant on all build-nodes
  378. This job is used to verify which machines actually have the required programs installed.
  379. Unfortunately we often see builds break because of changes/new machines...'''
  380. )
  381. /*throttleConcurrentBuilds {
  382. maxPerNode(1)
  383. maxTotal(1)
  384. }*/
  385. logRotator {
  386. numToKeep(5)
  387. artifactNumToKeep(1)
  388. }
  389. axes {
  390. jdk(
  391. 'JDK 1.8 (latest)',
  392. 'OpenJDK 8 (on Ubuntu only) ', // blank is required here until the name in the Jenkins instance is fixed!
  393. 'IBM 1.8 64-bit (on Ubuntu only)',
  394. 'JDK 1.9 (latest)',
  395. 'JDK 9 b181',
  396. 'JDK 9 b181 (unlimited security)'
  397. )
  398. label('Nodes',
  399. 'beam1','beam2','beam3','beam4','beam5','beam6','beam7','beam8',
  400. 'freebsd1',
  401. 'H0','H1','H10','H11','H12','H13','H14','H15','H16','H17','H18','H19','H2','H20','H21','H22','H23','H24','H25','H26','H27','H3','H4','H5','H6','H7','H8','H9',
  402. 'qnode1','qnode2','qnode3',
  403. 'ubuntu-1','ubuntu-2','ubuntu-4','ubuntu-5','ubuntu-6','ubuntu-eu2','ubuntu-eu3','ubuntu-ppc64le','ubuntu-us1',
  404. 'windows-2012-1','windows-2012-2','windows-2012-3'
  405. )
  406. }
  407. steps {
  408. /*if (poijob.windows) {
  409. context.batchFile(cmd)
  410. } else {*/
  411. shell('''
  412. which javac
  413. javac -version
  414. echo '<?xml version="1.0"?><project name="POI Build" default="test"><target name="test"><echo>Using Ant: ${ant.version} from ${ant.home}</echo></target></project>' > build.xml
  415. ''')
  416. //}
  417. ant {
  418. antInstallation(defaultAnt)
  419. }
  420. }
  421. publishers {
  422. mailer('centic@poi.apache.org' /* defaultEmail */, false, false)
  423. }
  424. }
  425. /* I tried to put the view into a sub-folder/sub-view, but failed, there are multiple related
  426. plugins so this is all a bit confusing :(, see also https://issues.apache.org/jira/browse/INFRA-14002
  427. dashboardView("P/POI-new") {
  428. columns {
  429. status()
  430. weather()
  431. configureProject()
  432. buildButton()
  433. cronTrigger()
  434. lastBuildConsole()
  435. name()
  436. lastSuccess()
  437. lastFailure()
  438. lastDuration()
  439. //lastSuccessDescription()
  440. jacoco()
  441. }
  442. description("Jobs related to building/testing Apache POI")
  443. filterBuildQueue(false)
  444. filterExecutors(false)
  445. // Job selection
  446. jobs {*/
  447. //regex(/.*POI.*/)
  448. /*}
  449. // Layout
  450. topPortlets {
  451. jenkinsJobsList {
  452. displayName('POI jobs')
  453. }
  454. }
  455. leftPortlets {
  456. testStatisticsChart()
  457. }
  458. rightPortlets {
  459. testTrendChart()
  460. }
  461. bottomPortlets {
  462. testStatisticsGrid()
  463. buildStatistics()
  464. }
  465. }*/