-
Bug
-
Resolution: Fixed
-
Major
-
windows server 2012
Add the Post Build step to create a Label in TFS.
- Enter the label text.
- Select either of the triggers - Always or only for success.
- Save the job
- Open the job configuration and neither of the triggers are selected.
Reviewed the job config.xml and entry is written as
<hudson.plugins.tfs.TFSLabeler plugin="tfs@3.1.1">
<labelName>test label</labelName>
</hudson.plugins.tfs.TFSLabeler>
Checked the source at https://github.com/jenkinsci/tfs-plugin/blob/master/src/main/java/hudson/plugins/tfs/TFSLabeler.java
Looks like there should be a value for the 'whenToLabel' in the config.
- is duplicated by
-
JENKINS-26261 Unable to create the label in TFS using Jenkins.
-
- Resolved
-
[JENKINS-23344] TFS plugin does not create label as trigger value is not saved in config
Assignee | Original: redsolo [ redsolo ] | New: Olivier Dagenais [ oli_at_jsi ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
I would also like to report this issue for Windows Server 2008R2.
I did happen to find a work around:
<labelName>MyLabel-123<labelName>
<whenToLabel>success</whenToLabel>
</hudson.plugins.tfs.TFSLabeler>
I know these steps are not ideal, but at least you can label without writing a separate script or Job.