http://stackoverflow.com/questions/28503736/how-can-i-set-jenkins-build-description-while-triggering-build-via-curl
You can always have a variable and pass the build description into the variable on the initial invocation. Then at the end of your build, output the variable to console and catch with Description Setter plugin.
Edit to clarify:
- Install Description Setter plugin.
- In the Job Configuration, configure a String parameter, call it "MyDescription", leave defaults blank.
- Somewhere in the build steps, either "Execute Shell" or "Execute Windows Batch Command" type
echo Desc: $MyDescription
orecho Desc: %MyDescription%
, depending on your OS. - In the Post-Build steps, select "Set Build Description".
- Set Regular expression as
^Desc: (.*)
- Set Description as
\1
- Set Regular expression as
- From command line trigger by:
curl -v -X POST --data-urlencode "MyDescription=This is my desc" "http://[myServer]/job/[jobName]/buildWithParameters"
For those interested in using the Jenkins UI, I'm trying:
- https://wiki.jenkins-ci.org/display/JENKINS/Build+Name+Setter+Plugin
- https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin
The Postbuild plugin is much more powerful, but requires Groovy tinkering and perms
相关推荐
aws-codebuild-jenkins-plugin, 一个插件,允许Jenkins用户使用 AWS CodeBuild运行一个构建 AWS CodeBuild插件Jenkins CodeBuild插件为Jenkins项目提供了一个构建步骤。 设置 Jenkins我们已经写了一个博客帖子,以...
jmeter+ant+jenkins---build.xml文件,下载运行即可成功
By the end of this book, you will be able to successfully set up a Jenkins server that checks your source code repositories for changes, triggering new builds and unit tests while informing all of the...
用于jenkins+ant部署jmeter脚本,用于jenkins+ant部署jmeter脚本,
jenkinsbuild
ant +build.xml 文件Jenkins部署javaEE项目,助力成功自动化部署。ant +build.xml 文件Jenkins部署javaEE项目,助力成功自动化部署。ant +build.xml 文件Jenkins部署javaEE项目,助力成功自动化部署。ant +build.xml...
Jenkins CI Build Monitor插件 Build Monitor插件提供了所选Jenkins作业状态的高度可见的视图。 它可以轻松适应不同的计算机屏幕尺寸,并且非常适合作为极端反馈设备显示在办公室墙壁的屏幕上。 (灵感来自不再维护...
jenkins-triggering-user已归档 该项目不再维护,已被归档。 您可以在查看项目的最终状态。 有关更多详细信息,请参阅。
Jenkins Build Per Git Flow分支 该脚本将使您能够使您的Jenkins作业与Git存储库保持同步(遵循Git Flow分支模型)。创世记这是我们找到的解决方案的一种变体。 因此,该想法和最初实施的功劳归功于Entagen及其 。 ...
This complete guide shows you how to automate your build, integration, release, and deployment processes with Jenkins—and demonstrates how CI can save you time, money, and many headaches. ...
grunt-jenkins-build-info 将 Jenkins 构建信息,包括源代码控制信息,添加到定义的 json 文件(包、凉亭等) 入门 这个插件需要 Grunt。 如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和...
Discover how Jenkins customization can help improve quality and reduce costs About the Author Donald Simpson is an information technology consultant based in Scotland, UK. He specializes in helping ...
如果您使用Jenkins CI进行自动化构建和作业,则需要使用我们的Chrome扩展程序。 每当由于某种原因导致作业失败或失败的作业成功时,您都会在桌面上收到警报(通过Chrome)。 此外,您无需浏览到Jenkins仪表板即可...
jenkins-ci-plugin所需repository
Jenkins build name set
Jenkins+GitHub实现C项目的集成开发测试部署,包括了Jenkins的具体安装配置等步骤
1.2 为什么是Jenkins? 4 1.3 持续集成是什么? 4 1.4 安装Jenkins系统要求 4 第 2 章 安装Jenkins 5 2.1 下载Jenkins 5 2.2 开始Jenkins 5 2.3 连接Jenkins 6 第 3章 Jenkins – Tomcat Setup 7 第4章 Jenkins – ...
如果您将Jenkins CI用于您的自动构建和作业,那么您将需要使用我们的Chrome扩展。 每当某个作业因任何原因失败或失败的作业成功时,您将在桌面上收到警报(通过Chrome)。另外,您可以轻松查看工作状态,而无需浏览...
Explore Continuous Integration and automation, along with how to manage and configure Jenkins Master using Jenkins to build, test, and package Java applications Learn about Jenkins' extensible ...