Guest User

Untitled

a guest
Jan 16th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. def PROJETS_FILE = "${JENKINS_HOME}/userContent/stats/projets.txt"
  2.  
  3. println "PROJETS_FILE = " + PROJETS_FILE
  4. def projects = new File(PROJETS_FILE)
  5.  
  6. nestedView('1. Applications') {
  7. projects.eachLine { appName ->
  8. views {
  9. views {
  10. listView(appName) {
  11. jobs {
  12. regex(appName + "-.*")
  13. }
  14. columns {
  15. status()
  16. weather()
  17. name()
  18. lastSuccess()
  19. lastFailure()
  20. lastDuration()
  21. buildButton()
  22. }
  23. }
  24. }
  25. }
  26. }
  27. }
Add Comment
Please, Sign In to add comment