Skip to content

Instantly share code, notes, and snippets.

@dudelis
Created March 12, 2018 14:53
Show Gist options
  • Select an option

  • Save dudelis/b34e2d320561938b8c3f1b17587d437c to your computer and use it in GitHub Desktop.

Select an option

Save dudelis/b34e2d320561938b8c3f1b17587d437c to your computer and use it in GitHub Desktop.
K2 Automatic Deployment
#Adds the PowerShell Deployment snapin.
add-pssnapin SourceCode.Deployment.PowerShell
#Scripts the deployment of a package
Deploy-Package $(System.DefaultWorkingDirectory)/K2-CI-Demo-CI/$(Build.BuildNumber)/ExpenseClaim.kspx $(System.DefaultWorkingDirectory)/K2-CI-Demo-CI/$(Build.BuildNumber)/ExpenseClaim.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment