Commit Graph

32 Commits

Author SHA1 Message Date
Claudiu Guiman
397a4759db remove 'plugin' from the name 2016-11-29 09:41:30 -08:00
Claudiu Guiman
830de58bbe Merge branch 'fix-custom-image' of https://github.com/arroyc/azure-slave-plugin into arroyc-fix-custom-image 2016-11-28 13:54:05 -08:00
Arjun Roy Chaudhuri
17b8539365 added uniqueness to container names for storage accounts for custom image uri 2016-11-23 16:14:48 -08:00
Arjun Roy Chaudhuri
fd7cbc3cc8 removed unnecessary changes to reference templates 2016-11-23 10:47:30 -08:00
Claudiu Guiman
1eca498d10 Merge pull request #67 from arroyc/local-build-successfull
Added validation check for resource group name and other fields in Azure VM Agent Cloud
2016-11-23 10:17:53 -08:00
Arjun Roy Chaudhuri
30a02019b8 hotfix custom image issues 2016-11-23 00:39:11 -08:00
Arjun Roy Chaudhuri
a125d19235 refactored code as per iteration#1 2016-11-21 16:45:14 -08:00
Claudiu Guiman
01e2afef95 Update help strings 2016-11-21 12:07:20 -08:00
Arjun Roy Chaudhuri
a88cfc803f Merge branch 'ARM-dev' into local-build-successfull 2016-11-21 10:23:34 -08:00
Arjun Roy Chaudhuri
b0e0e9ab45 added validation for azure profile configuration 2016-11-18 15:18:04 -08:00
Claudiu Guiman
174370780e Check that the template admin password is valid 2016-11-15 12:00:27 -08:00
Claudiu Guiman
9fcc1c48e2 Move the Azure login info in the credentials store 2016-11-11 15:14:54 -08:00
Matt Mitchell
a8e7188547 Credentials in store 2016-11-07 14:24:10 -08:00
Matt Mitchell
8722cfedf4 Add a way to specify the deployment timeout (in case of long deployments)
Fix help message in max VMs
2016-10-27 09:49:32 -07:00
Matt Mitchell
dbb10e4beb Make deployment names more unique (to avoid more collisions)
Only create the vnet and subnets in deployment if they are not specifically specified (to avoid overwriting vnet settings)
2016-10-21 07:38:30 -07:00
Matt Mitchell
bbadf7b605 Renaming and cloud SxS
* Rename microsoftopentechnologies -> microsoft namespace
    * slave -> agent refactor (strings, classes, and variable names where possible)
    * Token cache file name should be specific to cloud name
2016-10-19 09:38:20 -07:00
Claudiu Guiman
c8713852a1 Updated the ARM templates so the storage account name is unique per resource group 2016-10-18 12:42:43 -07:00
Matt Mitchell
9c5f40083d Fix httpconnector version
Fix jelly tag in index.jelly
2016-10-12 13:40:41 -07:00
Matt Mitchell
6b53a4e3a3 Azure RM model updates
* Make the resource group configurable
* Update SDK to 0.9.4
* Fix: Token expiration was incorrectly calculated (API is named a bit oddly).
* Fix: Token expiration is in seconds.
* Change VM/deployment names to ones that are valid
* Fix location + VM sizes
  It appears that that the location and VM size APIs do not currently support the AAD based authentication.  The certificate is required.  Rather than re-introduce the cert for just this limited UI scenario, I have decided to hard-code the list based on the returned info from current Azure.  This is a decent short term solution, since a move to the 1.0.0 API (when released) will require that this code be changed anyway and presumably this problem should be fixed for good at that point.
* Proper handling for custom image URIs
* Asynchronous verification of the subscription info
* Asynchronous verification of the azure templates
* Asynchronous provisioning
* Clean up resources after unsuccessful provisioning
* Lots of logging updates
* Fix: SSH launcher - Get channels before connection for exec channels
  Getting the channels after connection introduces a race where we could potentially fail to read from the input streams if they were obtained from the channel after the connection had completed.
* Add diagnostics to image verification messages
* Asynchronous deletion via UI
* Update version of Jsch
* Temporarily disable image verification for reference images
* Allow for initialization scripts to be run as root
* Cleanup of slaves now works properly
    * Doesn't clean up when node is taken offline by user
    * Post build tasks won't kill other runs or show errors in the job logging
    * Retention strategy now for online nodes, cleanup for offline nodes
* Nodes that are marked to shut down on idle can now be restarted properly (before too many could be started)
* Add option to treat failures of the initialization script as a reason to discard the VM (linux only currently)
* Reenable Windows custom script extension for startup
* Update documentation with new sample startup scripts

Add setAcceptingTasks appropriately

doc fixup
2016-10-06 15:06:03 -07:00
Arjun Roy Chaudhuri
f33e5793f6 make service principle parameters hidden fields 2016-09-28 13:06:52 -07:00
fmartelli
187c6a66ac [#12] Implements re-authentication at every request 2015-07-28 16:52:41 +02:00
fmartelli
d5653cf55c Providing arm deployment templates 2015-07-23 17:10:53 +02:00
Francesco Chicchiriccò
88bcc2e6d4 Initial migration to Azure SDK for Java 0.8.0-SNAPSHOT (using ARM but not yet JSON templates) 2015-07-09 13:17:56 +02:00
snallami
c1248683b7 Added additional checks for null label 2015-01-21 18:01:21 -08:00
jyrmyx
8b1dcd389c Change Windows user name minimum length from 6 to 3. No such restirction in Windows, why have it here? 2015-01-16 13:54:51 +02:00
snallami
a954eb8988 Stopped deallocated changes IP abd may be ssh public port since it is set to auto. Now query for details after VM is started 2014-12-11 15:29:13 -08:00
snallami
c2c462d7c1 Additional checks for shutdown feature 2014-12-10 19:35:22 -08:00
snallami
643383f4d3 Added shutdownOnIdle option , also simplified configuration for windows slave. Now default script works although jenkins is configured for security 2014-12-05 21:06:33 -08:00
Martin Sawicki
1f6283d14c Update Messages.properties
text polish
2014-09-12 15:35:42 -07:00
snallami
9390c3e81f Added retry strategy(need to implement for all methods) , introduced new status -Active Always 2014-08-15 16:56:45 -07:00
snallami
0ea58c8944 Added VNET support 2014-08-12 16:02:47 -07:00
snallami
a94971f0f8 azure slave plugin for jenkins 2014-07-17 15:04:13 -07:00