(Initial Save)
|
(Adding more content)
|
Line 5: | |||
Assume that '''%ARTIFACTS_HOME%''' is set to the ''\var\artifacts\'' directory of the server. The original format of the artifacts was in the form of: | Assume that '''%ARTIFACTS_HOME%''' is set to the ''\var\artifacts\'' directory of the server. The original format of the artifacts was in the form of: | ||
<pre>%ARTIFACTS_HOME%\project-buildprofile\buildlife\artifactset\...artifacts...</pre> | <pre>%ARTIFACTS_HOME%\project-buildprofile\buildlife\artifactset\...artifacts...</pre> | ||
- | So if we assume that we have a file called ''awesomefile.exe'' on the artifacts page of build life | + | So if we assume that we have a file called ''awesomefile.exe'' on the artifacts tab of the following: |
+ | * '''Build Life ID''': 423234 | ||
+ | * '''Project ID''': 13423 | ||
+ | * '''Build Profile ID''': 922 | ||
+ | * '''Artifact Set ID''': -2 | ||
+ | The directory would look like: | ||
+ | <pre>%ARTIFACTS_HOME%\13423-922\423234\-2\awesomefile.exe</pre> | ||
+ | = Current Layout = | ||
- | Directory structure for artifacts: | ||
- | set ARTIFACTS_HOME=%SERVER_HOME%\var\artifacts | ||
- | Before the restructure, the format was that: | ||
- | %ARTIFACTS_HOME%\21-61\2794\-2\file.exe | ||
- | %ARTIFACTS_HOME%\[[project id]]-[[build profile id]]\[[build life #]]\[[artifact set id]]\[[artifacts]] | ||
After the restructure, the format is this: | After the restructure, the format is this: | ||
- | %ARTIFACTS_HOME%\0000\0021\0000\0061\0000\2794\-2\file.exe | + | <pre>%ARTIFACTS_HOME%\long format project\long format buildprofile\long format buildlife\artifactset\...artifacts...</pre> |
- | %ARTIFACTS_HOME%\[[project id]]\[[build profile id]]\[[build life #]]\[[artifact set id]]\[[artifacts]] | ||
The key to note here is that 21 has been separated out to 00000021, which forms directory 0000\0021. Same goes with build profile 61 to 00000061 = 0000\0061. And the same with the buildlife 2794 to 00002794 = 0000\2794. Only the artifact set ID# and the artifacts themselves remain unchanged. | The key to note here is that 21 has been separated out to 00000021, which forms directory 0000\0021. Same goes with build profile 61 to 00000061 = 0000\0061. And the same with the buildlife 2794 to 00002794 = 0000\2794. Only the artifact set ID# and the artifacts themselves remain unchanged. |