Jenkins 结合docker持续集成发布.netcore应用程序

dotnet restore
dotnet build
mkdir D:\test\t3\publish
dotnet publish -o D:\test\t3\publish
copy pubDockerfile D:\test\t3\publish\Dockerfile
"C:\Program Files\7-Zip\7z.exe" a D:\test\publish.tar D:\test\t3\publish\*
curl -X POST "http://192.168.0.107:10000/api/Images/Build?Name=t6" -H "accept: text/plain" -H "Content-Type: multipart/form-data" -F "file=@D:\test\publish.tar;type=application/x-tar"
curl -X POST "http://192.168.0.107:10000/api/Images/Tag?name=t6" -H "accept: */*" -H "Content-Type: application/json" -d "{\"repositoryName\":\"192.168.0.10

你可能感兴趣的:(持续集成CI/CD,docker,CI,持续集成)