We write in the build description in the pre- and postbuild of the advanced settings, further information about the current build.
for example:
def description = "<h1>The project " + vars.getValue("ProjectName") + "</h1>" + was built.
"<img src=\"/asset/" + vars.getValue("CBCreateDB") + ".png\"></img>Database" ... some more Information
build.setDescription(description);
system.buildManager.save(build);
Up to qb 8 the background of the build description was displayed light blue bild-db57d7-1553173151.png.html
Since qb 9 there is a separate HTML editor for these fields but I can't change the whole background for the field.
So all fields are white, that's not so critical, but it results in a very unusual picture for our user.
I tried to bring this back into our usual view with an additional div tag and the class="round description information" from QB8
def description = "<div class=\"round description information\"><h1>Gebaut wurde das Projekt " + "Test" + "</h1>" +
"<img src=\"/asset/" + vars.getValue("CBCreateDB") + ".png\"></img>Database" ... some more Infos + "</div>"
build.setDescription(description);
system.buildManager.save(build);
but this tag doesn't cover the whole area bild-a05caf-1553172303.png.html
and if someone edits the description then everything is white again.
Is it possible from outside to overwrite or change the css value class="round description html-content" ?
- solved #4
- replies 3
- views 1082
- stars 0