When I run the build I get "Unable to publish artifact" error.
Bamboo server 6.0.3
Artifact definitions config:
Name: ****
Location: blank
copy pattern: *.jar
Could any one help me please?
SQLCompareOptions: build 24-Aug-2017 13:24:30 VERBOSE: Using temporary database on LocalDB. build 24-Aug-2017 13:24:30 VERBOSE: Created temporary database 'dlmautomation_146e4f83-f0c7-4e35-8879-5944f47a48e9' on build 24-Aug-2017 13:24:30 'np:\\.\pipe\LOCALDB#31E4AC51\tsql\query'. build 24-Aug-2017 13:24:30 VERBOSE: Updating database 'dlmautomation_146e4f83-f0c7-4e35-8879-5944f47a48e9' on server build 24-Aug-2017 13:24:30 'np:\\.\pipe\LOCALDB#31E4AC51\tsql\query' to schema in scripts folder. build 24-Aug-2017 13:24:30 VERBOSE: Using filter in scripts folder 'C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM Automation\nrmcopfs.h4j' build 24-Aug-2017 13:24:30 VERBOSE: Calling: C:\Program Files (x86)\Red Gate\DLM Automation 2\SC\SQLCompare.exe build 24-Aug-2017 13:24:30 "/filter:C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM Automation\dgmtg1vl.scpf" build 24-Aug-2017 13:24:30 /options:ConsiderNextFilegroupInPartitionSchemes,DecryptPost2kEncryptedObjects,DoNotOutputCommentHeader,ForceColumnOrde build 24-Aug-2017 13:24:30 r,IgnoreCertificatesAndCryptoKeys,IgnoreDatabaseAndServerName,IgnoreUserProperties,IgnoreUsersPermissionsAndRoleMembers build 24-Aug-2017 13:24:30 hips,IgnoreWhiteSpace,IgnoreWithElementOrder,IncludeDependencies,ThrowOnFileParseFailed,UseCompatibilityLevel build 24-Aug-2017 13:24:30 /transactionIsolationLevel:SERIALIZABLE /include:staticData "/scriptFile:C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM build 24-Aug-2017 13:24:30 Automation\rum4h2hv.sql" /showWarnings /include:Identical "/report:C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM build 24-Aug-2017 13:24:30 Automation\0hecqtkv.xml" /reportType:Xml /assertidentical /force /OutputWidth:1024 build 24-Aug-2017 13:24:30 "/scripts1:C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM Automation\nrmcopfs.h4j" build 24-Aug-2017 13:24:30 /server2:np:\\.\pipe\LOCALDB#31E4AC51\tsql\query /database2:dlmautomation_146e4f83-f0c7-4e35-8879-5944f47a48e9 build 24-Aug-2017 13:24:30 /out:"C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM Automation\52aqzio2.log" build 24-Aug-2017 13:24:37 VERBOSE: C:\Program Files (x86)\Red Gate\DLM Automation 2\SC\SQLCompare.exe ended with exit code 0 build 24-Aug-2017 13:24:37 VERBOSE: SQLCompare.exe completed successfully. build 24-Aug-2017 13:24:37 Generating documentation for scripts folder 'C:\Users\Bamboo-home\xml-data\build-dir\DH01-TDC-JOB1'. build 24-Aug-2017 13:24:37 VERBOSE: Calling: C:\Program Files (x86)\Red Gate\DLM Automation 2\SDOC\SQLDoc.exe build 24-Aug-2017 13:24:37 "/project:C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM Automation\ltxcv1su.wcb\project.sqldoc" build 24-Aug-2017 13:24:37 /server:np:\\.\pipe\LOCALDB#31E4AC51\tsql\query /database:dlmautomation_146e4f83-f0c7-4e35-8879-5944f47a48e9 build 24-Aug-2017 13:24:37 /out:"C:\Users\SVCBambooZ01\AppData\Local\Temp\DLM Automation\ngv5eiqc.log" build 24-Aug-2017 13:24:51 VERBOSE: C:\Program Files (x86)\Red Gate\DLM Automation 2\SDOC\SQLDoc.exe ended with exit code 0 build 24-Aug-2017 13:24:51 VERBOSE: SQLDoc.exe completed successfully. build 24-Aug-2017 13:24:51 Documentation created successfully. build 24-Aug-2017 13:24:51 VERBOSE: Dropping temporary database 'dlmautomation_146e4f83-f0c7-4e35-8879-5944f47a48e9' on build 24-Aug-2017 13:24:51 'np:\\.\pipe\LOCALDB#31E4AC51\tsql\query'. build 24-Aug-2017 13:24:54 New-DlmDatabasePackage, DLM Automation 2.0.16.453, Copyright c Red Gate Software Ltd 2014-2017 build 24-Aug-2017 13:24:54 In trial: expires 2017/09/19 12:00:54 +01:00 build 24-Aug-2017 13:24:54 VERBOSE: Parameters: build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 InputObject: RedGate.DLMAutomation.Compare.SchemaValidation.ValidatedSchemaSource build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 PackageId: DataHub01 build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 PackageVersion: 1.27 build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 PackageDescription: null build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 Documentation: RedGate.DLMAutomation.Compare.Documentation.SchemaDocumentation build 24-Aug-2017 13:24:54 Export-DlmDatabasePackage, DLM Automation 2.0.16.453, Copyright c Red Gate Software Ltd 2014-2017 build 24-Aug-2017 13:24:54 In trial: expires 2017/09/19 12:00:54 +01:00 build 24-Aug-2017 13:24:54 VERBOSE: Parameters: build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 InputObject: Database Package build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 Path: . build 24-Aug-2017 13:24:54 build 24-Aug-2017 13:24:54 Force: False build 24-Aug-2017 13:24:55 Database package exported to file 'C:\Users\Bamboo-home\xml-data\build-dir\DH01-TDC-JOB1\DataHub01.1.27.nupkg'. simple 24-Aug-2017 13:24:57 Finished task 'DataHub Build Package' with result: Success simple 24-Aug-2017 13:24:57 Skipping execution of task 'Sync to DB' as it is disabled simple 24-Aug-2017 13:24:57 Running post build plugin 'NCover Results Collector' simple 24-Aug-2017 13:24:57 Running post build plugin 'Artifact Copier' simple 24-Aug-2017 13:24:57 Publishing an artifact: DataHub_Artifact error 24-Aug-2017 13:24:57 Unable to publish artifact [DataHub_Artifact]: simple 24-Aug-2017 13:24:57 The artifact hasn't been successfully published after 27.08 ms simple 24-Aug-2017 13:24:57 Running post build plugin 'npm Cache Cleanup' simple 24-Aug-2017 13:24:57 Running post build plugin 'Clover Results Collector' simple 24-Aug-2017 13:24:57 Running post build plugin 'Docker Container Cleanup' simple 24-Aug-2017 13:24:57 Finalising the build... simple 24-Aug-2017 13:24:57 Stopping timer. simple 24-Aug-2017 13:24:57 Build DH01-TDC-JOB1-27 completed. simple 24-Aug-2017 13:24:57 Running on server: post build plugin 'NCover Results Collector' simple 24-Aug-2017 13:24:57 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 24-Aug-2017 13:24:57 Running on server: post build plugin 'Clover Delta Calculator' simple 24-Aug-2017 13:24:57 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 24-Aug-2017 13:24:57 All post build plugins have finished simple 24-Aug-2017 13:24:57 Generating build results summary... simple 24-Aug-2017 13:24:57 Saving build results to disk... simple 24-Aug-2017 13:24:57 Logging substituted variables... simple 24-Aug-2017 13:24:57 Indexing build results... simple 24-Aug-2017 13:24:57 Finished building DH01-TDC-JOB1-27.
troubleshooting tips:
--------------------
1. check weather build has successfully build a jar file in build location
2. check if your given path to bamboo artifacts is correct
3. Run [ dir location /s *.jar] in the build working directory and see if this command is grabbing any artifacts or not, if not please update the path you have given.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.