Does Jenkins have something like TeamCity service messages?

TeamCity has a feature which (as I can understand) is called "service messages". You can see the documentation here . Basically, it allows me to write things like

##teamcity[publishArtifacts '<path>']

      

so that the build server can do something. I love this feature. This allows me to include build server steps in my build scripts (and therefore in source control) rather than as server-side configuration. This makes server failover or disaster recovery more reliable, "documents" this behavior, and allows multiple assemblies to use it out of the box. These are fewer things people have to remember to set up when they create new build configurations, and much easier to write print '<message>'

than loading the build server's web interface and scrolling through a few pages looking for the correct configuration page.

I looked around but I couldn't find anything that would do this for Jenkins. Does Jenkins have something similar?

+3


source to share





All Articles