Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23344

TFS plugin does not create label as trigger value is not saved in config

      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.

          [JENKINS-23344] TFS plugin does not create label as trigger value is not saved in config

          Philip Larsen created issue -
          Olivier Dagenais made changes -
          Assignee Original: redsolo [ redsolo ] New: Olivier Dagenais [ oli_at_jsi ]
          Olivier Dagenais made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Olivier Dagenais made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Olivier Dagenais made changes -
          Link New: This issue is duplicated by JENKINS-26261 [ JENKINS-26261 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 155910 ] New: JNJira + In-Review [ 207765 ]

            oli_at_jsi Olivier Dagenais
            phil_larsen Philip Larsen
            Votes:
            6 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: