Implemented dotnetnugetpushonly task

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent 28cfdce5b0
commit a648466327
  1. 7
      BuildServer/lib/tasks/dotnetnugetpush.js
  2. 14
      BuildServer/lib/tasks/dotnetnugetpushonly.js

@ -21,12 +21,9 @@ module.exports = function (params, processor) {
}
},
{
type: "dotnetbuilderwrapper",
type: "dotnetnugetpushonly",
params: {
command: "nugetpush",
Package: nupkg,
NugetHost: settings.nugetHost,
ApiKey: settings.nugetApiKey
Package: nupkg
}
}
]

@ -0,0 +1,14 @@
"use strict";
var sequential = require("./sequential");
var dotnetbuilderwrapper = require('dotnetbuilderwrapper');
var settings = require("../../settings");
module.exports = function (params, processor) {
return dotnetbuilderwrapper({
command: "nugetpush",
Package: params.Package,
NugetHost: settings.nugetHost,
ApiKey: settings.nugetApiKey
}, processor);
};
Loading…
Cancel
Save