![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Gregory Boissinot
|
|
Attachments:
|
Absolute Path Required.png |
|
Components:
|
envinject |
|
Created:
|
17/Jan/13 4:52 PM
|
|
Description:
|
I'm using both a properties file path and script file path in a pre-build section. The properties file path resolves to the relative workspace correctly however, when using a script file it does not. One must enter a fully qualified path.
NON WORKING:
11:26:56 Changelog calculated successfully.
11:26:56 Run condition [Boolean condition] enabling prebuild for step [Execute Windows batch command]
11:26:56 No emails were triggered.
11:26:56 [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
11:26:57 [EnvInject] - Injecting as environment variables the properties file path 'properties/environment.properties'
11:26:57 [EnvInject] - Variables injected successfully.
11:26:57 [EnvInject] - Injecting as environment variables the properties content
11:26:57 AO_APPLICATION=WebSphereBuilds
11:26:57 AO_ENVIRONMENT=SND
11:26:57
11:26:57 [EnvInject] - Variables injected successfully.
11:26:57 Executing 'setupClasspath.bat'.
11:26:57 [SND-WebSphereBuilds] $ setupClasspath.bat
11:26:57 [EnvInject] - [ERROR] - [EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build wrap: Error occurs on execution script file path.
11:26:57 Run condition [Boolean condition] enabling perform for step [Execute Windows batch command]
11:26:57 [SND-WebSphereBuilds] $ cmd /c call E:\TEMP\hudson614402344419560499.bat
WORKING:
11:30:19 Run condition [Boolean condition] enabling prebuild for step [Execute Windows batch command]
11:30:19 No emails were triggered.
11:30:19 [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
11:30:19 [EnvInject] - Injecting as environment variables the properties file path 'properties/environment.properties'
11:30:19 [EnvInject] - Variables injected successfully.
11:30:19 [EnvInject] - Injecting as environment variables the properties content
11:30:19 AO_APPLICATION=WebSphereBuilds
11:30:19 AO_ENVIRONMENT=SND
11:30:19
11:30:19 [EnvInject] - Variables injected successfully.
11:30:19 Executing 'E:/JenkinsWAND/workspace/SND-WebSphereBuilds/bin/setupClasspath.bat'.
11:30:19 [SND-WebSphereBuilds] $ E:/JenkinsWAND/workspace/SND-WebSphereBuilds/bin/setupClasspath.bat
11:30:19 [EnvInject] - Script executed successfully.
11:30:19 [locks-and-latches] Checking to see if we really have the locks
11:30:19 [locks-and-latches] Have all the locks, build can start
11:30:19 [EnvInject] - Injecting environment variables from a build step.
11:30:19 [EnvInject] - Injecting as environment variables the properties file path 'E:/JenkinsWAND/workspace/SND-WebSphereBuilds/properties/classpath.properties'
11:30:19 [EnvInject] - Variables injected successfully.
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Walter Kacynski
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|