azure-devops-utils/powershell
chenyl 9501a84c1c fix maven source 2017-10-31 14:09:15 +08:00
..
Jenkins-Windows-Init-Script-SSH.ps1 fix maven source 2017-10-31 14:09:15 +08:00
Jenkins-Windows-Init-Script-no-secrets.ps1 fix maven source 2017-10-31 14:09:15 +08:00
Jenkins-Windows-Init-Script.ps1 Initial commit 2016-11-30 12:48:39 -08:00
Migrate-Image-From-Classic.ps1 Initial commit 2016-11-30 12:48:39 -08:00
README.md Refactor main README 2017-03-06 10:01:20 -08:00

README.md

Jenkins Azure Agent initialization script

Jenkins-Windows-Init-Script.ps1

Sample script on how to setup your Windows Azure Jenkins Agent to communicate through JNLP with the Jenkins master. Before deploying using this initialization script remember to update this line with your credentials (you can get api token by clicking on your username --> configure --> show api token):

$credentials="username:apitoken"

More information about the Azure VM Agents plugin can be found here.

Azure Classic VM Image migration

Migrate-Image-From-Classic.ps1

Migrates an image from the classic image model to the new Azure Resource Manager model.

Argument Description
ImageName Original image name
TargetStorageAccount Target account to copy to
TargetResourceGroup Resource group of the target storage account
TargetContainer Target container to put the VHD
TargetVirtualPath Virtual path to put the blob in. If not specified, defaults to the virtual path of the source URI
TargetBlobName Blob name to copy to. If not specified, defaults to the blob name of the source URI

Questions/Comments? azdevopspub@microsoft.com