Closed MisinformedDNA closed 3 years ago
Sign... the pipeline was only defined on a specific branch. Once I set the branch name, it worked fine.
However, now I'm stuck at trying to set a variable for the build. How can I do that?
@MisinformedDNA I found this code snippet https://stackoverflow.com/a/52777688/90287
Thanks. This is all I ended up needing:
var json = new JObject(new JProperty("pullRequestId", pullRequestId));
build.Parameters = JsonConvert.SerializeObject(json);
I cannot figure out how to queue a build, specifically a YAML pipeline. I always get the error message:
There is no further information.
Here's my code:
Setup:
definition
andproject
are what I would expect them to beWhat am I doing wrong?