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

git-plugin on workflow job with job-parameter does not trigger build

XMLWordPrintable

      Git plugin writes no-change if the parameter point to build parameter '${branch_name}' in GitSCM class line: 620:

      final EnvVars environment = project instanceof AbstractProject ? GitUtils.getPollEnvironment((AbstractProject) project, workspace, launcher, listener, false) : new EnvVars();

      so the 'environment' is empty and won't be resolved.

       

            Unassigned Unassigned
            igreenfi Izek Greenfied
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: