ptoma98 / skytap-cloud-plugin

Repository for Release 2 of the Skytap Plugin
0 stars 0 forks source link

Add Template to Project unable to use template data file created in previous build step #7

Closed tjmilligan closed 10 years ago

tjmilligan commented 10 years ago

Creating Template from Configuration

Expanding environment variable ... ConfigData-$BUILD_NUMBER=>ConfigData-25 File: ConfigData-25 was specified without a path. Defaulting path to Jenkins workspace. Expanding environment variable ... ${WORKSPACE}=>/var/lib/jenkins/jobs/Freds Complex Test/workspace Expanding environment variable ... TemplateData-$BUILD_NUMBER=>TemplateData-25 Expanding environment variable ... Tom's Test Template - $BUILD_NUMBER=>Tom's Test Template - 25 Expanding environment variable ... This is a test template=>This is a test template User provided file: /var/lib/jenkins/jobs/Freds Complex Test/workspace/ConfigData-25 Runtime Config ID: 1474332 Sending Template Creation Request for Configuration 1474332 HTTP POST Request: POST https://cloud.skytap.com/templates?configuration_id=1474332 HTTP/1.1 2014-01-27:11-34-44 Executing Request: POST https://cloud.skytap.com/templates?configuration_id=1474332 HTTP/1.1

HTTP/1.1 200 OK New Template created with id: 352013 - name: ICNR Connect Test 25 Sending Template Update Request for Template 352013 Updating Template with name: Tom's Test Template - 25 and description: This is a test template HTTP PUT Request: PUT https://cloud.skytap.com/templates/352013?name=Tom%27s+Test+Template+-+25&description=This+is+a+test+template HTTP/1.1 2014-01-27:11-34-48 Executing Request: PUT https://cloud.skytap.com/templates/352013?name=Tom%27s+Test+Template+-+25&description=This+is+a+test+template HTTP/1.1 HTTP/1.1 200 OK File: TemplateData-25 was specified without a path. Defaulting path to Jenkins workspace. Expanding environment variable ... ${WORKSPACE}=>/var/lib/jenkins/jobs/Freds Complex Test/workspace

Template Tom's Test Template - 25 successfully created and saved to file: /var/lib/jenkins/jobs/Freds Complex Test/workspace/TemplateData-25


Adding Template to Project Step

Expanding environment variable ... TemplateData-$BUILD_NUMBER=>TemplateData-25 User provided file: TemplateData-$BUILD_NUMBER Error retrieving JsonObject from file TemplateData-$BUILD_NUMBER. Error message: TemplateData-$BUILD_NUMBER (No such file or directory) Unable to read file: TemplateData-$BUILD_NUMBER Error obtaining runtime id: Unable to read file: TemplateData-$BUILD_NUMBER Build step 'Execute Skytap Action' marked build as failure Finished: FAILURE

tjmilligan commented 10 years ago

add-template-to-project-buildsteps