blueocean-plugin/docker-demo/set_welcome_message.groovy

9 lines
251 B
Groovy

jenkins.model.Jenkins.instance.setSystemMessage(
"""
<p>Welcome to Jenkins Blue Ocean Demo. Click on the image below: </p>
<p><a href="/blue"><img src="/userContent/blueocean-demo.png" /></a></p>
<p>log in with <strong>admin/admin</strong></p>
"""
)