sexta-feira, 30 de novembro de 2018

MSDEPLOY - example


msdeploy -verb:sync -source:package="C:\Deploy\Pacote\XXXXX.zip" -dest:contentPath="[mysite.web]",computerName="the computer name",userName="your user",password="XXXX",authtype="Basic",publishSettings="C:\Deploy\publish-profile\desenv\example.pubxml" -allowUntrusted

example.pubxml
<?xml version="1.0" encoding="utf-8"?>
<publishData>
  <publishProfile
    publishUrl="https://ec0-00-000-000.sa-east-1.compute.amazonaws.com:8172/msdeploy.axd"
    msdeploySite="mysite.web"
    destinationAppUrl="http://dev.xxxx.com.br:80/"
    mySQLDBConnectionString=""
    SQLServerDBConnectionString=""
    profileName="Default Settings"
    publishMethod="MSDeploy"
    userName="your user" />
</publishData>


quinta-feira, 29 de novembro de 2018

Could not find module "@angular-devkit/build-angular" from "C:\\Program Files (x86)\\Jenkins\\workspace\\Desenv_Web".

Solution

npm install --save-dev @angular-devkit/build-angular

-----------

Error: Could not find module "@angular-devkit/build-angular" from "C:\\Program Files (x86)\\Jenkins\\workspace\\Lawsoft_Desenv_Web".
    at Object.resolve (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\core\node\resolve.js:141:11)
    at Observable.rxjs_1.Observable [as _subscribe] (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\architect\src\architect.js:132:40)
    at Observable._trySubscribe (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:44:25)
    at Observable.subscribe (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:30:22)
    at DoOperator.call (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\operators\tap.js:32:23)
    at Observable.subscribe (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:25:22)
    at C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\util\subscribeTo.js:22:31
    at Object.subscribeToResult (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\util\subscribeToResult.js:10:45)
    at MergeMapSubscriber._innerSub (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:82:29)
    at MergeMapSubscriber._tryNext (C:\Users\jenkins-devops\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:76:14)

quinta-feira, 1 de novembro de 2018