URL: http://teamcity:8111/httpAuth/app/rest/projects/
Method: POST
Accept: application/xml
| #!/usr/bin/env bash | |
| # Generate JWT for Github App | |
| # | |
| # Inspired by implementation by Will Haley at: | |
| # http://willhaley.com/blog/generate-jwt-with-bash/ | |
| # From: | |
| # https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting | |
| thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
URL: http://teamcity:8111/httpAuth/app/rest/projects/
Method: POST
Accept: application/xml
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Reflection; | |
| using NUnit.Framework; | |
| namespace MyProject | |
| { | |
| [TestFixture] |