Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Switch branch for parent project in build process

Ray Lee December 17, 2019

hello,

Suppose I have two projects (one is parent, another one is child), when bamboo build "child" project, we want it to get source from "parent project" with same branch (e.g. if current branch of "child" project is "develop", then we want to get the source code of "parent" project in develop branch as well.

In Bamboo, is there any option to make this happen ? 

My colleague said need to use a simple git commands  (just like what needs to work in Jenkins) to get correct branch source code.

Would you help to give some hints on this ?

Thanks a lot,

Ray

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 17, 2019

Hi Ray,

I think what you are looking for is Build Plan Dependencies:

https://confluence.atlassian.com/bamboo/setting-up-plan-build-dependencies-289276887.html

When you set this up Bamboo is intelligent enough to know that if you us the same branch name in both repositories for each plan it will run using that branch.

For Example:

In the "Parent" repository/build plan my main branch is "master", but before going to master I create a feature/ABC branch to do my work.

If I also have a feature/ABC branch in my "Child" repository/build plan, then Bamboo will automatically trigger the Child plan with the feature/ABC branch instead of always using master.

I hope that helps explain things.

-Jimmy

Ray Lee December 24, 2019

Hi Jimmy,

We try to follow your guideline but still cannot achieve the ultimate result.

I upload some screens and hope you can advise which part(s) go wrong

We setup two simple projects, one is TestParent, another project is TestExtendParent

and TestExtendParent depends on TestParent project in build process.

We setup one "sit" and one "develop" branch in both projects.

However, when TestParent build success on sit branch, it sets auto trigger to child plan (i.e. TestExtendParent), it suppose to download source from "sit" branch of TestParent.

 

However, when build with TestExtendParent, the source code of "TestParent" is "develop"

 

Hope following screen can let you understand what thing I set wrong.

 

Many thanks for your help in advance,

RaY

Screen1.pngScreen2.pngScreen3.pngScreen4.png

Ray Lee December 25, 2019

hello Jimmy,

do you have time to review my steps?

Thanks

Ray Lee December 25, 2019

Sorry Jimmy, I am not aware there is Xmas holiday in these 2 days, will wait for your update

Thanks

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 28, 2019

Hi @Ray Lee,

Sorry, I've taken a look at your configuration, and I don't see where you could be going wrong with this.  Can you please tell me what version of Bamboo you are using?  I'm wondering if there might be some reported known issue against that version with could be causing this.

-Jimmy

Ray Lee December 29, 2019

HI Jimmy,

Thank you for your time to review my reply. Our bamboo server is very old-dated, version should be Atlassian Bamboo version 5.12.2.1 build 51213.

Hope to hear your update soon.

Thanks a lot

Ray

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 30, 2019

Thanks Ray!

I took a quick look and I don't see anything that would line up with your symptoms being reported.  Just to be sure, both TestParent and TestExtendParent are setup so that they main branch is 'develop'.  And when you run a build of TestParent on the 'sit' branch, instead of automatically triggering a build of the 'sit' branch in TestExtendParent, it is instead triggering a build against the main plan branch 'develop' is that correct?

If so, at this point, let's try looking at the log files for the Bamboo server to see if any errors were reported when it's triggering the TestExtendParent build that might explain why it's switching to the wrong branch.

Thanks!

-Jimmy

Ray Lee December 30, 2019

Hi Jimmy,

I will double check when I back to office tomorrow. Is there any option to produce more detailed log for your tracing? or normal bamboo build log is fine for diagnostic?

Again, thanks a lot

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2019

Hi Ray,

The default logging should be enough to see what path it is following or if any errors are produced.

-Jimmy

Ray Lee December 31, 2019


Hi Jimmy,

Yes, checked and both projects are having "develop" as default branch.

When building "sit" branch in parent project (i.e. our project name is TestParent),

it will auto trigger child project (i.e. our project name is TestExtendParent)

In building TestExtendParent, it gets "develop" branch of parent project to build a shared artifact to use as further build for child project. I will provide screen captures in following.

 

Thanks,

Ray Lee December 31, 2019

Parent Branch.pngChild Branch.pngChild Build.png

Ray Lee December 31, 2019

plan-130711592-UT-7 (Parent).log : 

simple 31-Dec-2019 21:34:04 Build GN16 Inforce Illustration - Build - TestParent - sit - Build Package #7 (HINF-TEST11-UT-7) started building on agent Local Agent 1
simple 31-Dec-2019 21:34:04
simple 31-Dec-2019 21:34:04 Build working directory is D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT
simple 31-Dec-2019 21:34:04 Executing build GN16 Inforce Illustration - Build - TestParent - sit - Build Package #7 (HINF-TEST11-UT-7)
simple 31-Dec-2019 21:34:04 Preparing artifact 'Source Codes' for use at ./
simple 31-Dec-2019 21:34:04 Artifact 'Source Codes' prepared in 248.5 ms at D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT
simple 31-Dec-2019 21:34:04 Running pre-build action: VCS Version Collector
simple 31-Dec-2019 21:34:04 Starting task 'Package jar' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
command 31-Dec-2019 21:34:04 Beginning to execute external process for build 'GN16 Inforce Illustration - Build - TestParent - sit - Build Package #7 (HINF-TEST11-UT-7)'\n ... running command line: \nD:\Tools\apache-maven-3.1.1\bin\mvn.bat --batch-mode -Djava.io.tmpdir=D:\atlassian\Bamboo\temp\HINF-TEST11-UT -f testParent\pom.xml clean package\n ... in: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\n ... using extra environment variables: \nbamboo_planRepository_1_branch=sit\nbamboo_artifacts_path_Source_Codes=\nbamboo_repository_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nMAVEN2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_resultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-TEST11-UT-7\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_repository_130908179_git_username=\nbamboo_internetUATUserId=huatdpy\nbamboo_planRepository_1_name=GN16 TestParent\nbamboo_build_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\nbamboo_buildKey=HINF-TEST11-UT\nbamboo_shortPlanName=sit\nbamboo_capability_system_builder_command_Websphere_8_0_Admin_Client=D:\Tools\WAS80_Thin_Client\wsadmin.bat\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_name=GN16 TestParent\nbamboo_buildNumber=7\nbamboo_shortJobName=Build Package\nbamboo_capability_system_jdk_WebSphere_JDK_8=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_mvn3_Maven_3_1_1=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-TEST11-UT-7\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_capability_system_jdk_JDK_8_Update_25=D:\Tools\Java\jdk1.8.0_25\nbamboo_agentId=1638401\nbamboo_planName=GN16 Inforce Illustration - Build - TestParent - sit\nbamboo_repository_130908179_name=GN16 TestParent\nbamboo_shortPlanKey=TEST11\nbamboo_shortJobKey=UT\nbamboo_repository_130908179_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_revision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_repository_130908179_branch_name=sit\nbamboo_capability_system_jdk_JDK_1_7_0_67=C:\Program Files\Java\jre7\nbamboo_repository_previous_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_buildTimeStamp=2019-12-31T21:34:04.050+08:00\nbamboo_planRepository_previousRevision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nM2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultKey=HINF-TEST11-UT-7\nbamboo_repository_git_branch=sit\nbamboo_repository_branch_name=sit\nbamboo_buildPlanName=GN16 Inforce Illustration - Build - TestParent - sit - Build Package\nbamboo_planRepository_1_revision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_capability_system_jdk_JDK_8_1_8_0_172=D:\Tools\Java\jdk1.8.0_172\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_deployUserId=huatdpy\nbamboo_repository_130908179_git_branch=sit\nbamboo_repository_name=GN16 TestParent\nJAVA_HOME=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_dependenciesDisabled=false\nbamboo_repository_130908179_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_planRepository_branch=sit\nbamboo_agentWorkingDirectory=D:\atlassian\bamboo-home\xml-data\build-dir\nbamboo_repository_130908179_previous_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_planRepository_1_previousRevision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_repository_git_username=\nbamboo_capability_system_builder_mvn3_Maven_3_2_5=D:\Tools\apache-maven-3.2.5\nbamboo_capability_system_builder_command_Websphere_9_0_Admin_Client=D:\Tools\WAS9_Thin_Client_OracleJDK\wsadmin.bat\nbamboo_capability_system_builder_command_curl=D:\Tools\curl-7.66.0\bin\curl.exe\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=sit\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=HCSRR6E\nbamboo_repository_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_internetUATPassword=********\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nuseMavenReturnCode=false\nbamboo_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\nbamboo_planKey=HINF-TEST11\nbamboo_planRepository_1_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_username=\nbamboo_deployPassword=********\nbamboo_planRepository_1_branchName=sit\nPath=D:\Tools\WebSphere 8.0 JDK\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\IBM\ITM\bin;C:\IBM\ITM\InstallITM;C:\IBM\ITM\TMAITM6;C:\Program Files\Git\cmd;D:\Tools\curl-7.66.0\bin\n
build 31-Dec-2019 21:34:14 [INFO] Scanning for projects...
build 31-Dec-2019 21:34:14 [INFO]
build 31-Dec-2019 21:34:14 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:14 [INFO] Building testParent 0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:14 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:15 [INFO]
build 31-Dec-2019 21:34:15 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testParent ---
build 31-Dec-2019 21:34:16 [INFO] Deleting D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\target
build 31-Dec-2019 21:34:16 [INFO]
build 31-Dec-2019 21:34:16 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testParent ---
build 31-Dec-2019 21:34:16 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:16 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\src\main\resources
build 31-Dec-2019 21:34:16 [INFO]
build 31-Dec-2019 21:34:16 [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ testParent ---
build 31-Dec-2019 21:34:17 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:17 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\target\classes
build 31-Dec-2019 21:34:18 [INFO]
build 31-Dec-2019 21:34:18 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testParent ---
build 31-Dec-2019 21:34:18 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:18 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\src\test\resources
build 31-Dec-2019 21:34:18 [INFO]
build 31-Dec-2019 21:34:18 [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ testParent ---
build 31-Dec-2019 21:34:18 [INFO] No sources to compile
build 31-Dec-2019 21:34:18 [INFO]
build 31-Dec-2019 21:34:18 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testParent ---
build 31-Dec-2019 21:34:19 [INFO] No tests to run.
build 31-Dec-2019 21:34:19 [INFO]
build 31-Dec-2019 21:34:19 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ testParent ---
build 31-Dec-2019 21:34:20 [INFO] Building jar: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\target\testParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:20 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:20 [INFO] BUILD SUCCESS
build 31-Dec-2019 21:34:20 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:20 [INFO] Total time: 5.507s
build 31-Dec-2019 21:34:20 [INFO] Finished at: Tue Dec 31 21:34:20 CST 2019
build 31-Dec-2019 21:34:20 [INFO] Final Memory: 11M/18M
build 31-Dec-2019 21:34:20 [INFO] ------------------------------------------------------------------------
simple 31-Dec-2019 21:34:20 Finished task 'Package jar' with result: Success
simple 31-Dec-2019 21:34:20 Running post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:20 Running post build plugin 'Artifact Copier'
simple 31-Dec-2019 21:34:20 Publishing an artifact: Latest Parent jar
simple 31-Dec-2019 21:34:20 Finished publishing of artifact Shared artifact: [Latest Parent jar], pattern: [**/*.jar] anchored at: [testParent/target/] in 48.48 ms
simple 31-Dec-2019 21:34:20 Running post build plugin 'npm Cache Cleanup'
simple 31-Dec-2019 21:34:20 Running post build plugin 'Clover Results Collector'
simple 31-Dec-2019 21:34:20 Running post build plugin 'Docker Container Cleanup'
simple 31-Dec-2019 21:34:20 Successfully removed working directory at 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT'
simple 31-Dec-2019 21:34:20 Finalising the build...
simple 31-Dec-2019 21:34:20 Stopping timer.
simple 31-Dec-2019 21:34:20 Build HINF-TEST11-UT-7 completed.
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'Clover Delta Calculator'
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 31-Dec-2019 21:34:20 All post build plugins have finished
simple 31-Dec-2019 21:34:20 Generating build results summary...
simple 31-Dec-2019 21:34:20 Saving build results to disk...
simple 31-Dec-2019 21:34:20 Logging substituted variables...
simple 31-Dec-2019 21:34:20 Indexing build results...
simple 31-Dec-2019 21:34:20 Finished building HINF-TEST11-UT-7.

Ray Lee December 31, 2019

plan-128647432-BPA-13 (Child) - Build Parent jar : 

 

simple 31-Dec-2019 21:34:22 Build GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact #13 (HINF-BUILDTEST21-BPA-13) started building on agent Local Agent 1
simple 31-Dec-2019 21:34:22
simple 31-Dec-2019 21:34:22 Build working directory is D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA
simple 31-Dec-2019 21:34:22 Executing build GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact #13 (HINF-BUILDTEST21-BPA-13)
simple 31-Dec-2019 21:34:22 Starting task 'check out parent source code' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 31-Dec-2019 21:34:22 Build always requires a clean checkout
simple 31-Dec-2019 21:34:22 Cleaning build directory 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA'
simple 31-Dec-2019 21:34:22 Updating source code to revision: bc5ab0396b61b4648a47297d0c2b3b2df0995198
simple 31-Dec-2019 21:34:22 Fetching 'refs/heads/*' from 'ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git'.
simple 31-Dec-2019 21:34:22 Git: Updating references
simple 31-Dec-2019 21:34:22 Git:
simple 31-Dec-2019 21:34:22 Checking out revision bc5ab0396b61b4648a47297d0c2b3b2df0995198.
simple 31-Dec-2019 21:34:22 Creating local git repository in 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\.git'.
simple 31-Dec-2019 21:34:23 Updated source code to revision: bc5ab0396b61b4648a47297d0c2b3b2df0995198
simple 31-Dec-2019 21:34:23 Finished task 'check out parent source code' with result: Success
simple 31-Dec-2019 21:34:23 Running pre-build action: VCS Version Collector
simple 31-Dec-2019 21:34:23 Skipping execution of task 'check out parent branch' as it is disabled
simple 31-Dec-2019 21:34:23 Starting task 'build parent' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
command 31-Dec-2019 21:34:23 Beginning to execute external process for build 'GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact #13 (HINF-BUILDTEST21-BPA-13)'\n ... running command line: \nD:\Tools\apache-maven-3.1.1\bin\mvn.bat --batch-mode -Djava.io.tmpdir=D:\atlassian\Bamboo\temp\HINF-BUILDTEST21-BPA -f testParent\pom.xml clean package\n ... in: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\n ... using extra environment variables: \nbamboo_planRepository_1_branch=sit\nbamboo_dependency_parent_0=HINF-TEST11-7\nbamboo_planRepository_2_branch=develop\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nMAVEN2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_resultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-BPA-13\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_repository_119177359_git_branch=develop\nbamboo_internetUATUserId=huatdpy\nbamboo_repository_128843882_git_branch=sit\nbamboo_planRepository_1_name=GN16 TestExtendParent\nbamboo_build_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\nbamboo_buildKey=HINF-BUILDTEST21-BPA\nbamboo_repository_119177359_previous_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_repository_128843882_branch_name=sit\nbamboo_shortPlanName=sit\nbamboo_capability_system_builder_command_Websphere_8_0_Admin_Client=D:\Tools\WAS80_Thin_Client\wsadmin.bat\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_2_username=\nbamboo_repository_119177359_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_name=GN16 TestExtendParent\nbamboo_repository_119177359_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_buildNumber=13\nbamboo_repository_119177359_git_username=\nbamboo_shortJobName=build parent artifact\nbamboo_capability_system_jdk_WebSphere_JDK_8=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_mvn3_Maven_3_1_1=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-BPA-13\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_capability_system_jdk_JDK_8_Update_25=D:\Tools\Java\jdk1.8.0_25\nbamboo_agentId=1638401\nbamboo_planName=GN16 Inforce Illustration - Build - TestExtendParent - sit\nbamboo_shortPlanKey=BUILDTEST21\nbamboo_shortJobKey=BPA\nbamboo_planRepository_2_name=Gn16 TestPartent\nbamboo_planRepository_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_1_7_0_67=C:\Program Files\Java\jre7\nbamboo_repository_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_buildTimeStamp=2019-12-31T21:34:22.002+08:00\nbamboo_planRepository_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_128843882_git_username=\nM2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_repository_128843882_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_buildResultKey=HINF-BUILDTEST21-BPA-13\nbamboo_repository_git_branch=sit\nbamboo_repository_branch_name=sit\nbamboo_buildPlanName=GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact\nbamboo_BRANCH=sit\nbamboo_planRepository_1_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_8_1_8_0_172=D:\Tools\Java\jdk1.8.0_172\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_deployUserId=huatdpy\nbamboo_repository_name=Gn16 TestPartent\nJAVA_HOME=D:\Tools\WebSphere 8.0 JDK\nbamboo_planRepository_2_previousRevision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_repository_128843882_name=GN16 TestExtendParent\nbamboo_planRepository_branch=sit\nbamboo_agentWorkingDirectory=D:\atlassian\bamboo-home\xml-data\build-dir\nbamboo_planRepository_2_revision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_1_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_git_username=\nbamboo_capability_system_builder_mvn3_Maven_3_2_5=D:\Tools\apache-maven-3.2.5\nbamboo_capability_system_builder_command_Websphere_9_0_Admin_Client=D:\Tools\WAS9_Thin_Client_OracleJDK\wsadmin.bat\nbamboo_capability_system_builder_command_curl=D:\Tools\curl-7.66.0\bin\curl.exe\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=sit\nbamboo_planRepository_2_type=stash-rep\nbamboo_repository_128843882_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_planRepository_2_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_2_branchName=develop\nbamboo_internetUATPassword=********\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nuseMavenReturnCode=true\nbamboo_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\nbamboo_planKey=HINF-BUILDTEST21\nbamboo_planRepository_1_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_username=\nbamboo_repository_119177359_name=Gn16 TestPartent\nbamboo_repository_128843882_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_deployPassword=********\nbamboo_repository_119177359_branch_name=develop\nbamboo_planRepository_1_branchName=sit\nPath=D:\Tools\WebSphere 8.0 JDK\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\IBM\ITM\bin;C:\IBM\ITM\InstallITM;C:\IBM\ITM\TMAITM6;C:\Program Files\Git\cmd;D:\Tools\curl-7.66.0\bin\n
build 31-Dec-2019 21:34:25 [INFO] Scanning for projects...
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:26 [INFO] Building testParent 0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:26 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testParent ---
build 31-Dec-2019 21:34:26 [INFO] Deleting D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\target
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testParent ---
build 31-Dec-2019 21:34:26 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:26 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\src\main\resources
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ testParent ---
build 31-Dec-2019 21:34:26 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:26 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\target\classes
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testParent ---
build 31-Dec-2019 21:34:27 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:27 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\src\test\resources
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ testParent ---
build 31-Dec-2019 21:34:27 [INFO] No sources to compile
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testParent ---
build 31-Dec-2019 21:34:27 [INFO] No tests to run.
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ testParent ---
build 31-Dec-2019 21:34:28 [INFO] Building jar: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\target\testParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:28 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:28 [INFO] BUILD SUCCESS
build 31-Dec-2019 21:34:28 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:28 [INFO] Total time: 2.403s
build 31-Dec-2019 21:34:28 [INFO] Finished at: Tue Dec 31 21:34:28 CST 2019
build 31-Dec-2019 21:34:28 [INFO] Final Memory: 11M/19M
build 31-Dec-2019 21:34:28 [INFO] ------------------------------------------------------------------------
simple 31-Dec-2019 21:34:28 Finished task 'build parent' with result: Success
simple 31-Dec-2019 21:34:28 Skipping execution of task 'Maven Dependencies Processor' as it is disabled
simple 31-Dec-2019 21:34:28 Running post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:28 Running post build plugin 'Artifact Copier'
simple 31-Dec-2019 21:34:28 Publishing an artifact: Parent jar
simple 31-Dec-2019 21:34:28 Finished publishing of artifact Shared artifact: [Parent jar], pattern: [**/*.jar] anchored at: [testParent/target/] in 25.64 ms
simple 31-Dec-2019 21:34:28 Running post build plugin 'npm Cache Cleanup'
simple 31-Dec-2019 21:34:28 Running post build plugin 'Clover Results Collector'
simple 31-Dec-2019 21:34:28 Running post build plugin 'Docker Container Cleanup'
simple 31-Dec-2019 21:34:28 Finalising the build...
simple 31-Dec-2019 21:34:28 Stopping timer.
simple 31-Dec-2019 21:34:28 Build HINF-BUILDTEST21-BPA-13 completed.
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'Clover Delta Calculator'
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 31-Dec-2019 21:34:28 All post build plugins have finished
simple 31-Dec-2019 21:34:28 Generating build results summary...
simple 31-Dec-2019 21:34:28 Saving build results to disk...
simple 31-Dec-2019 21:34:28 Logging substituted variables...
simple 31-Dec-2019 21:34:28 Indexing build results...
simple 31-Dec-2019 21:34:28 Finished building HINF-BUILDTEST21-BPA-13.

Ray Lee December 31, 2019

plan-128647432-UT-13 (Child) - Build Final jar : 

simple 31-Dec-2019 21:34:31 Build GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package #13 (HINF-BUILDTEST21-UT-13) started building on agent Default Agent
simple 31-Dec-2019 21:34:31
simple 31-Dec-2019 21:34:31 Build working directory is D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT
simple 31-Dec-2019 21:34:31 Executing build GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package #13 (HINF-BUILDTEST21-UT-13)
simple 31-Dec-2019 21:34:31 Preparing artifact 'Parent jar' for use at ./testExtendParent/lib/
simple 31-Dec-2019 21:34:31 Artifact 'Parent jar' prepared in 18.59 ms at D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\lib\testParent-0.0.1-SNAPSHOT.jar
simple 31-Dec-2019 21:34:31 Preparing artifact 'Source Codes' for use at ./
simple 31-Dec-2019 21:34:31 Artifact 'Source Codes' prepared in 130.7 ms at D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT
simple 31-Dec-2019 21:34:31 Running pre-build action: VCS Version Collector
simple 31-Dec-2019 21:34:31 Starting task 'Package jar' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
command 31-Dec-2019 21:34:31 Beginning to execute external process for build 'GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package #13 (HINF-BUILDTEST21-UT-13)'\n ... running command line: \nD:\Tools\apache-maven-3.1.1\bin\mvn.bat --batch-mode -Djava.io.tmpdir=D:\atlassian\Bamboo\temp\HINF-BUILDTEST21-UT -f testExtendParent\pom.xml clean install\n ... in: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\n ... using extra environment variables: \nbamboo_planRepository_1_branch=sit\nbamboo_dependency_parent_0=HINF-TEST11-7\nbamboo_artifacts_path_Source_Codes=\nbamboo_planRepository_2_branch=develop\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nMAVEN2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_resultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-UT-13\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_repository_119177359_git_branch=develop\nbamboo_internetUATUserId=huatdpy\nbamboo_repository_128843882_git_branch=sit\nbamboo_planRepository_1_name=GN16 TestExtendParent\nbamboo_build_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\nbamboo_buildKey=HINF-BUILDTEST21-UT\nbamboo_repository_119177359_previous_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_repository_128843882_branch_name=sit\nbamboo_shortPlanName=sit\nbamboo_capability_system_builder_command_Websphere_8_0_Admin_Client=D:\Tools\WAS80_Thin_Client\wsadmin.bat\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_2_username=\nbamboo_repository_119177359_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_name=GN16 TestExtendParent\nbamboo_repository_119177359_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_buildNumber=13\nbamboo_repository_119177359_git_username=\nbamboo_shortJobName=Build Package\nbamboo_capability_system_jdk_WebSphere_JDK_8=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_mvn3_Maven_3_1_1=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-UT-13\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_capability_system_jdk_JDK_8_Update_25=D:\Tools\Java\jdk1.8.0_25\nbamboo_agentId=131073\nbamboo_planName=GN16 Inforce Illustration - Build - TestExtendParent - sit\nbamboo_shortPlanKey=BUILDTEST21\nbamboo_shortJobKey=UT\nbamboo_planRepository_2_name=Gn16 TestPartent\nbamboo_planRepository_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_1_7_0_67=C:\Program Files\Java\jre7\nbamboo_repository_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_buildTimeStamp=2019-12-31T21:34:31.455+08:00\nbamboo_planRepository_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_128843882_git_username=\nM2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_repository_128843882_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_buildResultKey=HINF-BUILDTEST21-UT-13\nbamboo_repository_git_branch=sit\nbamboo_repository_branch_name=sit\nbamboo_buildPlanName=GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package\nbamboo_BRANCH=sit\nbamboo_planRepository_1_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_8_1_8_0_172=D:\Tools\Java\jdk1.8.0_172\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_deployUserId=huatdpy\nbamboo_repository_name=Gn16 TestPartent\nJAVA_HOME=D:\Tools\Java\jdk1.8.0_172\nbamboo_planRepository_2_previousRevision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_repository_128843882_name=GN16 TestExtendParent\nbamboo_planRepository_branch=sit\nbamboo_agentWorkingDirectory=D:\atlassian\bamboo-home\xml-data\build-dir\nbamboo_planRepository_2_revision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_1_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_git_username=\nbamboo_capability_system_builder_mvn3_Maven_3_2_5=D:\Tools\apache-maven-3.2.5\nbamboo_capability_system_builder_command_Websphere_9_0_Admin_Client=D:\Tools\WAS9_Thin_Client_OracleJDK\wsadmin.bat\nbamboo_capability_system_builder_command_curl=D:\Tools\curl-7.66.0\bin\curl.exe\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=sit\nbamboo_planRepository_2_type=stash-rep\nbamboo_repository_128843882_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_planRepository_2_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_2_branchName=develop\nbamboo_internetUATPassword=********\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nuseMavenReturnCode=false\nbamboo_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\nbamboo_planKey=HINF-BUILDTEST21\nbamboo_planRepository_1_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_username=\nbamboo_repository_119177359_name=Gn16 TestPartent\nbamboo_repository_128843882_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_deployPassword=********\nbamboo_repository_119177359_branch_name=develop\nbamboo_artifacts_path_Parent_jar=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\lib\testParent-0.0.1-SNAPSHOT.jar\nbamboo_planRepository_1_branchName=sit\nPath=D:\Tools\Java\jdk1.8.0_172\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\IBM\ITM\bin;C:\IBM\ITM\InstallITM;C:\IBM\ITM\TMAITM6;C:\Program Files\Git\cmd;D:\Tools\curl-7.66.0\bin\n
build 31-Dec-2019 21:34:36 [INFO] Scanning for projects...
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [WARNING] Some problems were encountered while building the effective model for com.aiahk.application:testExtendParent:jar:0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:36 [WARNING] 'dependencies.dependency.systemPath' for com.aiahk.product:testParent:jar should not point at files within the project directory, ${basedir}/lib/testParent-0.0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 21, column 16
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [INFO]
build 31-Dec-2019 21:34:36 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:36 [INFO] Building testExtendParent 0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:36 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:37 [INFO]
build 31-Dec-2019 21:34:37 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testExtendParent ---
build 31-Dec-2019 21:34:37 [INFO] Deleting D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target
build 31-Dec-2019 21:34:37 [INFO]
build 31-Dec-2019 21:34:37 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testExtendParent ---
build 31-Dec-2019 21:34:37 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:37 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\src\main\resources
build 31-Dec-2019 21:34:37 [INFO]
build 31-Dec-2019 21:34:37 [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ testExtendParent ---
build 31-Dec-2019 21:34:37 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:37 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\classes
build 31-Dec-2019 21:34:39 [INFO]
build 31-Dec-2019 21:34:39 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testExtendParent ---
build 31-Dec-2019 21:34:39 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:39 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\src\test\resources
build 31-Dec-2019 21:34:39 [INFO]
build 31-Dec-2019 21:34:39 [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ testExtendParent ---
build 31-Dec-2019 21:34:39 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:39 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\test-classes
build 31-Dec-2019 21:34:39 [INFO]
build 31-Dec-2019 21:34:39 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testExtendParent ---
build 31-Dec-2019 21:34:39 [INFO] Surefire report directory: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\surefire-reports
build 31-Dec-2019 21:34:40
build 31-Dec-2019 21:34:40 -------------------------------------------------------
build 31-Dec-2019 21:34:40 T E S T S
build 31-Dec-2019 21:34:40 -------------------------------------------------------
build 31-Dec-2019 21:34:41 Running testExtendParent.StringUtilTest
build 31-Dec-2019 21:34:41 Hellow world! DEV
build 31-Dec-2019 21:34:41 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
build 31-Dec-2019 21:34:41
build 31-Dec-2019 21:34:41 Results :
build 31-Dec-2019 21:34:41
build 31-Dec-2019 21:34:41 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
build 31-Dec-2019 21:34:41
build 31-Dec-2019 21:34:41 [INFO]
build 31-Dec-2019 21:34:41 [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ testExtendParent ---
build 31-Dec-2019 21:34:41 [INFO] Building jar: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\testExtendParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:41 [INFO]
build 31-Dec-2019 21:34:41 [INFO] --- maven-install-plugin:2.4:install (default-install) @ testExtendParent ---
build 31-Dec-2019 21:34:42 [INFO] Installing D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\testExtendParent-0.0.1-SNAPSHOT.jar to C:\Users\HPALT01\.m2\repository\com\aiahk\application\testExtendParent\0.0.1-SNAPSHOT\testExtendParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:42 [INFO] Installing D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\pom.xml to C:\Users\HPALT01\.m2\repository\com\aiahk\application\testExtendParent\0.0.1-SNAPSHOT\testExtendParent-0.0.1-SNAPSHOT.pom
build 31-Dec-2019 21:34:42 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:42 [INFO] BUILD SUCCESS
build 31-Dec-2019 21:34:42 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:42 [INFO] Total time: 6.446s
build 31-Dec-2019 21:34:42 [INFO] Finished at: Tue Dec 31 21:34:42 CST 2019
build 31-Dec-2019 21:34:42 [INFO] Final Memory: 14M/150M
build 31-Dec-2019 21:34:42 [INFO] ------------------------------------------------------------------------
simple 31-Dec-2019 21:34:42 Finished task 'Package jar' with result: Success
simple 31-Dec-2019 21:34:42 Running post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:42 Running post build plugin 'Artifact Copier'
simple 31-Dec-2019 21:34:42 Publishing an artifact: child jar
simple 31-Dec-2019 21:34:42 Finished publishing of artifact Shared artifact: [child jar], pattern: [**/*.jar] anchored at: [testExtendParent/target/] in 11.18 ms
simple 31-Dec-2019 21:34:42 Running post build plugin 'npm Cache Cleanup'
simple 31-Dec-2019 21:34:42 Running post build plugin 'Clover Results Collector'
simple 31-Dec-2019 21:34:42 Running post build plugin 'Docker Container Cleanup'
simple 31-Dec-2019 21:34:42 Successfully removed working directory at 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT'
simple 31-Dec-2019 21:34:42 Finalising the build...
simple 31-Dec-2019 21:34:42 Stopping timer.
simple 31-Dec-2019 21:34:42 Build HINF-BUILDTEST21-UT-13 completed.
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'Clover Delta Calculator'
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 31-Dec-2019 21:34:42 All post build plugins have finished
simple 31-Dec-2019 21:34:42 Generating build results summary...
simple 31-Dec-2019 21:34:42 Saving build results to disk...
simple 31-Dec-2019 21:34:42 Logging substituted variables...
simple 31-Dec-2019 21:34:42 Indexing build results...
simple 31-Dec-2019 21:34:42 Finished building HINF-BUILDTEST21-UT-13.

Ray Lee December 31, 2019

plan-128647432-BPA-13 (Child) - Build Parent jar log

 

simple 31-Dec-2019 21:34:22 Build GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact #13 (HINF-BUILDTEST21-BPA-13) started building on agent Local Agent 1
simple 31-Dec-2019 21:34:22
simple 31-Dec-2019 21:34:22 Build working directory is D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA
simple 31-Dec-2019 21:34:22 Executing build GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact #13 (HINF-BUILDTEST21-BPA-13)
simple 31-Dec-2019 21:34:22 Starting task 'check out parent source code' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 31-Dec-2019 21:34:22 Build always requires a clean checkout
simple 31-Dec-2019 21:34:22 Cleaning build directory 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA'
simple 31-Dec-2019 21:34:22 Updating source code to revision: bc5ab0396b61b4648a47297d0c2b3b2df0995198
simple 31-Dec-2019 21:34:22 Fetching 'refs/heads/*' from 'ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git'.
simple 31-Dec-2019 21:34:22 Git: Updating references
simple 31-Dec-2019 21:34:22 Git:
simple 31-Dec-2019 21:34:22 Checking out revision bc5ab0396b61b4648a47297d0c2b3b2df0995198.
simple 31-Dec-2019 21:34:22 Creating local git repository in 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\.git'.
simple 31-Dec-2019 21:34:23 Updated source code to revision: bc5ab0396b61b4648a47297d0c2b3b2df0995198
simple 31-Dec-2019 21:34:23 Finished task 'check out parent source code' with result: Success
simple 31-Dec-2019 21:34:23 Running pre-build action: VCS Version Collector
simple 31-Dec-2019 21:34:23 Skipping execution of task 'check out parent branch' as it is disabled
simple 31-Dec-2019 21:34:23 Starting task 'build parent' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
command 31-Dec-2019 21:34:23 Beginning to execute external process for build 'GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact #13 (HINF-BUILDTEST21-BPA-13)'\n ... running command line: \nD:\Tools\apache-maven-3.1.1\bin\mvn.bat --batch-mode -Djava.io.tmpdir=D:\atlassian\Bamboo\temp\HINF-BUILDTEST21-BPA -f testParent\pom.xml clean package\n ... in: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\n ... using extra environment variables: \nbamboo_planRepository_1_branch=sit\nbamboo_dependency_parent_0=HINF-TEST11-7\nbamboo_planRepository_2_branch=develop\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nMAVEN2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_resultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-BPA-13\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_repository_119177359_git_branch=develop\nbamboo_internetUATUserId=huatdpy\nbamboo_repository_128843882_git_branch=sit\nbamboo_planRepository_1_name=GN16 TestExtendParent\nbamboo_build_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\nbamboo_buildKey=HINF-BUILDTEST21-BPA\nbamboo_repository_119177359_previous_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_repository_128843882_branch_name=sit\nbamboo_shortPlanName=sit\nbamboo_capability_system_builder_command_Websphere_8_0_Admin_Client=D:\Tools\WAS80_Thin_Client\wsadmin.bat\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_2_username=\nbamboo_repository_119177359_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_name=GN16 TestExtendParent\nbamboo_repository_119177359_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_buildNumber=13\nbamboo_repository_119177359_git_username=\nbamboo_shortJobName=build parent artifact\nbamboo_capability_system_jdk_WebSphere_JDK_8=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_mvn3_Maven_3_1_1=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-BPA-13\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_capability_system_jdk_JDK_8_Update_25=D:\Tools\Java\jdk1.8.0_25\nbamboo_agentId=1638401\nbamboo_planName=GN16 Inforce Illustration - Build - TestExtendParent - sit\nbamboo_shortPlanKey=BUILDTEST21\nbamboo_shortJobKey=BPA\nbamboo_planRepository_2_name=Gn16 TestPartent\nbamboo_planRepository_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_1_7_0_67=C:\Program Files\Java\jre7\nbamboo_repository_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_buildTimeStamp=2019-12-31T21:34:22.002+08:00\nbamboo_planRepository_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_128843882_git_username=\nM2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_repository_128843882_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_buildResultKey=HINF-BUILDTEST21-BPA-13\nbamboo_repository_git_branch=sit\nbamboo_repository_branch_name=sit\nbamboo_buildPlanName=GN16 Inforce Illustration - Build - TestExtendParent - sit - build parent artifact\nbamboo_BRANCH=sit\nbamboo_planRepository_1_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_8_1_8_0_172=D:\Tools\Java\jdk1.8.0_172\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_deployUserId=huatdpy\nbamboo_repository_name=Gn16 TestPartent\nJAVA_HOME=D:\Tools\WebSphere 8.0 JDK\nbamboo_planRepository_2_previousRevision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_repository_128843882_name=GN16 TestExtendParent\nbamboo_planRepository_branch=sit\nbamboo_agentWorkingDirectory=D:\atlassian\bamboo-home\xml-data\build-dir\nbamboo_planRepository_2_revision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_1_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_git_username=\nbamboo_capability_system_builder_mvn3_Maven_3_2_5=D:\Tools\apache-maven-3.2.5\nbamboo_capability_system_builder_command_Websphere_9_0_Admin_Client=D:\Tools\WAS9_Thin_Client_OracleJDK\wsadmin.bat\nbamboo_capability_system_builder_command_curl=D:\Tools\curl-7.66.0\bin\curl.exe\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=sit\nbamboo_planRepository_2_type=stash-rep\nbamboo_repository_128843882_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_planRepository_2_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_2_branchName=develop\nbamboo_internetUATPassword=********\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nuseMavenReturnCode=true\nbamboo_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\nbamboo_planKey=HINF-BUILDTEST21\nbamboo_planRepository_1_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_username=\nbamboo_repository_119177359_name=Gn16 TestPartent\nbamboo_repository_128843882_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_deployPassword=********\nbamboo_repository_119177359_branch_name=develop\nbamboo_planRepository_1_branchName=sit\nPath=D:\Tools\WebSphere 8.0 JDK\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\IBM\ITM\bin;C:\IBM\ITM\InstallITM;C:\IBM\ITM\TMAITM6;C:\Program Files\Git\cmd;D:\Tools\curl-7.66.0\bin\n
build 31-Dec-2019 21:34:25 [INFO] Scanning for projects...
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:26 [INFO] Building testParent 0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:26 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testParent ---
build 31-Dec-2019 21:34:26 [INFO] Deleting D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\target
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testParent ---
build 31-Dec-2019 21:34:26 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:26 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\src\main\resources
build 31-Dec-2019 21:34:26 [INFO]
build 31-Dec-2019 21:34:26 [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ testParent ---
build 31-Dec-2019 21:34:26 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:26 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\target\classes
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testParent ---
build 31-Dec-2019 21:34:27 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:27 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\src\test\resources
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ testParent ---
build 31-Dec-2019 21:34:27 [INFO] No sources to compile
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testParent ---
build 31-Dec-2019 21:34:27 [INFO] No tests to run.
build 31-Dec-2019 21:34:27 [INFO]
build 31-Dec-2019 21:34:27 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ testParent ---
build 31-Dec-2019 21:34:28 [INFO] Building jar: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-BPA\testParent\target\testParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:28 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:28 [INFO] BUILD SUCCESS
build 31-Dec-2019 21:34:28 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:28 [INFO] Total time: 2.403s
build 31-Dec-2019 21:34:28 [INFO] Finished at: Tue Dec 31 21:34:28 CST 2019
build 31-Dec-2019 21:34:28 [INFO] Final Memory: 11M/19M
build 31-Dec-2019 21:34:28 [INFO] ------------------------------------------------------------------------
simple 31-Dec-2019 21:34:28 Finished task 'build parent' with result: Success
simple 31-Dec-2019 21:34:28 Skipping execution of task 'Maven Dependencies Processor' as it is disabled
simple 31-Dec-2019 21:34:28 Running post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:28 Running post build plugin 'Artifact Copier'
simple 31-Dec-2019 21:34:28 Publishing an artifact: Parent jar
simple 31-Dec-2019 21:34:28 Finished publishing of artifact Shared artifact: [Parent jar], pattern: [**/*.jar] anchored at: [testParent/target/] in 25.64 ms
simple 31-Dec-2019 21:34:28 Running post build plugin 'npm Cache Cleanup'
simple 31-Dec-2019 21:34:28 Running post build plugin 'Clover Results Collector'
simple 31-Dec-2019 21:34:28 Running post build plugin 'Docker Container Cleanup'
simple 31-Dec-2019 21:34:28 Finalising the build...
simple 31-Dec-2019 21:34:28 Stopping timer.
simple 31-Dec-2019 21:34:28 Build HINF-BUILDTEST21-BPA-13 completed.
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'Clover Delta Calculator'
simple 31-Dec-2019 21:34:28 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 31-Dec-2019 21:34:28 All post build plugins have finished
simple 31-Dec-2019 21:34:28 Generating build results summary...
simple 31-Dec-2019 21:34:28 Saving build results to disk...
simple 31-Dec-2019 21:34:28 Logging substituted variables...
simple 31-Dec-2019 21:34:28 Indexing build results...
simple 31-Dec-2019 21:34:28 Finished building HINF-BUILDTEST21-BPA-13.

Ray Lee December 31, 2019

plan-128647432-UT-13 (Child) - Build Final jar log 

 

simple 31-Dec-2019 21:34:31 Build GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package #13 (HINF-BUILDTEST21-UT-13) started building on agent Default Agent
simple 31-Dec-2019 21:34:31
simple 31-Dec-2019 21:34:31 Build working directory is D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT
simple 31-Dec-2019 21:34:31 Executing build GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package #13 (HINF-BUILDTEST21-UT-13)
simple 31-Dec-2019 21:34:31 Preparing artifact 'Parent jar' for use at ./testExtendParent/lib/
simple 31-Dec-2019 21:34:31 Artifact 'Parent jar' prepared in 18.59 ms at D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\lib\testParent-0.0.1-SNAPSHOT.jar
simple 31-Dec-2019 21:34:31 Preparing artifact 'Source Codes' for use at ./
simple 31-Dec-2019 21:34:31 Artifact 'Source Codes' prepared in 130.7 ms at D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT
simple 31-Dec-2019 21:34:31 Running pre-build action: VCS Version Collector
simple 31-Dec-2019 21:34:31 Starting task 'Package jar' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
command 31-Dec-2019 21:34:31 Beginning to execute external process for build 'GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package #13 (HINF-BUILDTEST21-UT-13)'\n ... running command line: \nD:\Tools\apache-maven-3.1.1\bin\mvn.bat --batch-mode -Djava.io.tmpdir=D:\atlassian\Bamboo\temp\HINF-BUILDTEST21-UT -f testExtendParent\pom.xml clean install\n ... in: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\n ... using extra environment variables: \nbamboo_planRepository_1_branch=sit\nbamboo_dependency_parent_0=HINF-TEST11-7\nbamboo_artifacts_path_Source_Codes=\nbamboo_planRepository_2_branch=develop\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nMAVEN2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_resultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-UT-13\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_repository_119177359_git_branch=develop\nbamboo_internetUATUserId=huatdpy\nbamboo_repository_128843882_git_branch=sit\nbamboo_planRepository_1_name=GN16 TestExtendParent\nbamboo_build_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\nbamboo_buildKey=HINF-BUILDTEST21-UT\nbamboo_repository_119177359_previous_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_repository_128843882_branch_name=sit\nbamboo_shortPlanName=sit\nbamboo_capability_system_builder_command_Websphere_8_0_Admin_Client=D:\Tools\WAS80_Thin_Client\wsadmin.bat\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_2_username=\nbamboo_repository_119177359_revision_number=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_name=GN16 TestExtendParent\nbamboo_repository_119177359_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_buildNumber=13\nbamboo_repository_119177359_git_username=\nbamboo_shortJobName=Build Package\nbamboo_capability_system_jdk_WebSphere_JDK_8=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_mvn3_Maven_3_1_1=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-BUILDTEST21-UT-13\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_capability_system_jdk_JDK_8_Update_25=D:\Tools\Java\jdk1.8.0_25\nbamboo_agentId=131073\nbamboo_planName=GN16 Inforce Illustration - Build - TestExtendParent - sit\nbamboo_shortPlanKey=BUILDTEST21\nbamboo_shortJobKey=UT\nbamboo_planRepository_2_name=Gn16 TestPartent\nbamboo_planRepository_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_1_7_0_67=C:\Program Files\Java\jre7\nbamboo_repository_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_buildTimeStamp=2019-12-31T21:34:31.455+08:00\nbamboo_planRepository_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_128843882_git_username=\nM2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_repository_128843882_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_buildResultKey=HINF-BUILDTEST21-UT-13\nbamboo_repository_git_branch=sit\nbamboo_repository_branch_name=sit\nbamboo_buildPlanName=GN16 Inforce Illustration - Build - TestExtendParent - sit - Build Package\nbamboo_BRANCH=sit\nbamboo_planRepository_1_revision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_capability_system_jdk_JDK_8_1_8_0_172=D:\Tools\Java\jdk1.8.0_172\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_deployUserId=huatdpy\nbamboo_repository_name=Gn16 TestPartent\nJAVA_HOME=D:\Tools\Java\jdk1.8.0_172\nbamboo_planRepository_2_previousRevision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_repository_128843882_name=GN16 TestExtendParent\nbamboo_planRepository_branch=sit\nbamboo_agentWorkingDirectory=D:\atlassian\bamboo-home\xml-data\build-dir\nbamboo_planRepository_2_revision=bc5ab0396b61b4648a47297d0c2b3b2df0995198\nbamboo_planRepository_1_previousRevision=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_repository_git_username=\nbamboo_capability_system_builder_mvn3_Maven_3_2_5=D:\Tools\apache-maven-3.2.5\nbamboo_capability_system_builder_command_Websphere_9_0_Admin_Client=D:\Tools\WAS9_Thin_Client_OracleJDK\wsadmin.bat\nbamboo_capability_system_builder_command_curl=D:\Tools\curl-7.66.0\bin\curl.exe\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=sit\nbamboo_planRepository_2_type=stash-rep\nbamboo_repository_128843882_previous_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_planRepository_2_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_2_branchName=develop\nbamboo_internetUATPassword=********\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nuseMavenReturnCode=false\nbamboo_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\nbamboo_planKey=HINF-BUILDTEST21\nbamboo_planRepository_1_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testextendparent.git\nbamboo_planRepository_username=\nbamboo_repository_119177359_name=Gn16 TestPartent\nbamboo_repository_128843882_revision_number=7bab317765b9a06c3198ce2f36eaa9bf91e75ca5\nbamboo_deployPassword=********\nbamboo_repository_119177359_branch_name=develop\nbamboo_artifacts_path_Parent_jar=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\lib\testParent-0.0.1-SNAPSHOT.jar\nbamboo_planRepository_1_branchName=sit\nPath=D:\Tools\Java\jdk1.8.0_172\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\IBM\ITM\bin;C:\IBM\ITM\InstallITM;C:\IBM\ITM\TMAITM6;C:\Program Files\Git\cmd;D:\Tools\curl-7.66.0\bin\n
build 31-Dec-2019 21:34:36 [INFO] Scanning for projects...
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [WARNING] Some problems were encountered while building the effective model for com.aiahk.application:testExtendParent:jar:0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:36 [WARNING] 'dependencies.dependency.systemPath' for com.aiahk.product:testParent:jar should not point at files within the project directory, ${basedir}/lib/testParent-0.0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 21, column 16
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
build 31-Dec-2019 21:34:36 [WARNING]
build 31-Dec-2019 21:34:36 [INFO]
build 31-Dec-2019 21:34:36 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:36 [INFO] Building testExtendParent 0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:36 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:37 [INFO]
build 31-Dec-2019 21:34:37 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testExtendParent ---
build 31-Dec-2019 21:34:37 [INFO] Deleting D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target
build 31-Dec-2019 21:34:37 [INFO]
build 31-Dec-2019 21:34:37 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testExtendParent ---
build 31-Dec-2019 21:34:37 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:37 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\src\main\resources
build 31-Dec-2019 21:34:37 [INFO]
build 31-Dec-2019 21:34:37 [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ testExtendParent ---
build 31-Dec-2019 21:34:37 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:37 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\classes
build 31-Dec-2019 21:34:39 [INFO]
build 31-Dec-2019 21:34:39 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testExtendParent ---
build 31-Dec-2019 21:34:39 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:39 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\src\test\resources
build 31-Dec-2019 21:34:39 [INFO]
build 31-Dec-2019 21:34:39 [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ testExtendParent ---
build 31-Dec-2019 21:34:39 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:39 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\test-classes
build 31-Dec-2019 21:34:39 [INFO]
build 31-Dec-2019 21:34:39 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testExtendParent ---
build 31-Dec-2019 21:34:39 [INFO] Surefire report directory: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\surefire-reports
build 31-Dec-2019 21:34:40
build 31-Dec-2019 21:34:40 -------------------------------------------------------
build 31-Dec-2019 21:34:40 T E S T S
build 31-Dec-2019 21:34:40 -------------------------------------------------------
build 31-Dec-2019 21:34:41 Running testExtendParent.StringUtilTest
build 31-Dec-2019 21:34:41 Hellow world! DEV
build 31-Dec-2019 21:34:41 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
build 31-Dec-2019 21:34:41
build 31-Dec-2019 21:34:41 Results :
build 31-Dec-2019 21:34:41
build 31-Dec-2019 21:34:41 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
build 31-Dec-2019 21:34:41
build 31-Dec-2019 21:34:41 [INFO]
build 31-Dec-2019 21:34:41 [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ testExtendParent ---
build 31-Dec-2019 21:34:41 [INFO] Building jar: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\testExtendParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:41 [INFO]
build 31-Dec-2019 21:34:41 [INFO] --- maven-install-plugin:2.4:install (default-install) @ testExtendParent ---
build 31-Dec-2019 21:34:42 [INFO] Installing D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\target\testExtendParent-0.0.1-SNAPSHOT.jar to C:\Users\HPALT01\.m2\repository\com\aiahk\application\testExtendParent\0.0.1-SNAPSHOT\testExtendParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:42 [INFO] Installing D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT\testExtendParent\pom.xml to C:\Users\HPALT01\.m2\repository\com\aiahk\application\testExtendParent\0.0.1-SNAPSHOT\testExtendParent-0.0.1-SNAPSHOT.pom
build 31-Dec-2019 21:34:42 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:42 [INFO] BUILD SUCCESS
build 31-Dec-2019 21:34:42 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:42 [INFO] Total time: 6.446s
build 31-Dec-2019 21:34:42 [INFO] Finished at: Tue Dec 31 21:34:42 CST 2019
build 31-Dec-2019 21:34:42 [INFO] Final Memory: 14M/150M
build 31-Dec-2019 21:34:42 [INFO] ------------------------------------------------------------------------
simple 31-Dec-2019 21:34:42 Finished task 'Package jar' with result: Success
simple 31-Dec-2019 21:34:42 Running post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:42 Running post build plugin 'Artifact Copier'
simple 31-Dec-2019 21:34:42 Publishing an artifact: child jar
simple 31-Dec-2019 21:34:42 Finished publishing of artifact Shared artifact: [child jar], pattern: [**/*.jar] anchored at: [testExtendParent/target/] in 11.18 ms
simple 31-Dec-2019 21:34:42 Running post build plugin 'npm Cache Cleanup'
simple 31-Dec-2019 21:34:42 Running post build plugin 'Clover Results Collector'
simple 31-Dec-2019 21:34:42 Running post build plugin 'Docker Container Cleanup'
simple 31-Dec-2019 21:34:42 Successfully removed working directory at 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-BUILDTEST21-UT'
simple 31-Dec-2019 21:34:42 Finalising the build...
simple 31-Dec-2019 21:34:42 Stopping timer.
simple 31-Dec-2019 21:34:42 Build HINF-BUILDTEST21-UT-13 completed.
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'Clover Delta Calculator'
simple 31-Dec-2019 21:34:42 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 31-Dec-2019 21:34:42 All post build plugins have finished
simple 31-Dec-2019 21:34:42 Generating build results summary...
simple 31-Dec-2019 21:34:42 Saving build results to disk...
simple 31-Dec-2019 21:34:42 Logging substituted variables...
simple 31-Dec-2019 21:34:42 Indexing build results...
simple 31-Dec-2019 21:34:42 Finished building HINF-BUILDTEST21-UT-13.

Ray Lee December 31, 2019

plan-130711592-UT-7 (Parent) log 

 

simple 31-Dec-2019 21:34:04 Build GN16 Inforce Illustration - Build - TestParent - sit - Build Package #7 (HINF-TEST11-UT-7) started building on agent Local Agent 1
simple 31-Dec-2019 21:34:04
simple 31-Dec-2019 21:34:04 Build working directory is D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT
simple 31-Dec-2019 21:34:04 Executing build GN16 Inforce Illustration - Build - TestParent - sit - Build Package #7 (HINF-TEST11-UT-7)
simple 31-Dec-2019 21:34:04 Preparing artifact 'Source Codes' for use at ./
simple 31-Dec-2019 21:34:04 Artifact 'Source Codes' prepared in 248.5 ms at D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT
simple 31-Dec-2019 21:34:04 Running pre-build action: VCS Version Collector
simple 31-Dec-2019 21:34:04 Starting task 'Package jar' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
command 31-Dec-2019 21:34:04 Beginning to execute external process for build 'GN16 Inforce Illustration - Build - TestParent - sit - Build Package #7 (HINF-TEST11-UT-7)'\n ... running command line: \nD:\Tools\apache-maven-3.1.1\bin\mvn.bat --batch-mode -Djava.io.tmpdir=D:\atlassian\Bamboo\temp\HINF-TEST11-UT -f testParent\pom.xml clean package\n ... in: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\n ... using extra environment variables: \nbamboo_planRepository_1_branch=sit\nbamboo_artifacts_path_Source_Codes=\nbamboo_repository_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nMAVEN2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_resultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-TEST11-UT-7\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_repository_130908179_git_username=\nbamboo_internetUATUserId=huatdpy\nbamboo_planRepository_1_name=GN16 TestParent\nbamboo_build_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\nbamboo_buildKey=HINF-TEST11-UT\nbamboo_shortPlanName=sit\nbamboo_capability_system_builder_command_Websphere_8_0_Admin_Client=D:\Tools\WAS80_Thin_Client\wsadmin.bat\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_name=GN16 TestParent\nbamboo_buildNumber=7\nbamboo_shortJobName=Build Package\nbamboo_capability_system_jdk_WebSphere_JDK_8=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_mvn3_Maven_3_1_1=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultsUrl=http://aiahk-bamboo.aia.biz/browse/HINF-TEST11-UT-7\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_capability_system_jdk_JDK_8_Update_25=D:\Tools\Java\jdk1.8.0_25\nbamboo_agentId=1638401\nbamboo_planName=GN16 Inforce Illustration - Build - TestParent - sit\nbamboo_repository_130908179_name=GN16 TestParent\nbamboo_shortPlanKey=TEST11\nbamboo_shortJobKey=UT\nbamboo_repository_130908179_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_revision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_repository_130908179_branch_name=sit\nbamboo_capability_system_jdk_JDK_1_7_0_67=C:\Program Files\Java\jre7\nbamboo_repository_previous_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_buildTimeStamp=2019-12-31T21:34:04.050+08:00\nbamboo_planRepository_previousRevision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nM2_HOME=D:\Tools\apache-maven-3.1.1\nbamboo_buildResultKey=HINF-TEST11-UT-7\nbamboo_repository_git_branch=sit\nbamboo_repository_branch_name=sit\nbamboo_buildPlanName=GN16 Inforce Illustration - Build - TestParent - sit - Build Package\nbamboo_planRepository_1_revision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_capability_system_jdk_JDK_8_1_8_0_172=D:\Tools\Java\jdk1.8.0_172\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_deployUserId=huatdpy\nbamboo_repository_130908179_git_branch=sit\nbamboo_repository_name=GN16 TestParent\nJAVA_HOME=D:\Tools\WebSphere 8.0 JDK\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_dependenciesDisabled=false\nbamboo_repository_130908179_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_planRepository_branch=sit\nbamboo_agentWorkingDirectory=D:\atlassian\bamboo-home\xml-data\build-dir\nbamboo_repository_130908179_previous_revision_number=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_planRepository_1_previousRevision=cea595ec06b47b4f8a245d70e9ec7921d7218b5c\nbamboo_repository_git_username=\nbamboo_capability_system_builder_mvn3_Maven_3_2_5=D:\Tools\apache-maven-3.2.5\nbamboo_capability_system_builder_command_Websphere_9_0_Admin_Client=D:\Tools\WAS9_Thin_Client_OracleJDK\wsadmin.bat\nbamboo_capability_system_builder_command_curl=D:\Tools\curl-7.66.0\bin\curl.exe\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=sit\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=HCSRR6E\nbamboo_repository_git_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_internetUATPassword=********\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nuseMavenReturnCode=false\nbamboo_working_directory=D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\nbamboo_planKey=HINF-TEST11\nbamboo_planRepository_1_repositoryUrl=ssh://git@aiahk-stash.aia.biz:7999/gn16_ii/testparent.git\nbamboo_planRepository_username=\nbamboo_deployPassword=********\nbamboo_planRepository_1_branchName=sit\nPath=D:\Tools\WebSphere 8.0 JDK\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\IBM\ITM\bin;C:\IBM\ITM\InstallITM;C:\IBM\ITM\TMAITM6;C:\Program Files\Git\cmd;D:\Tools\curl-7.66.0\bin\n
build 31-Dec-2019 21:34:14 [INFO] Scanning for projects...
build 31-Dec-2019 21:34:14 [INFO]
build 31-Dec-2019 21:34:14 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:14 [INFO] Building testParent 0.0.1-SNAPSHOT
build 31-Dec-2019 21:34:14 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:15 [INFO]
build 31-Dec-2019 21:34:15 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testParent ---
build 31-Dec-2019 21:34:16 [INFO] Deleting D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\target
build 31-Dec-2019 21:34:16 [INFO]
build 31-Dec-2019 21:34:16 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testParent ---
build 31-Dec-2019 21:34:16 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:16 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\src\main\resources
build 31-Dec-2019 21:34:16 [INFO]
build 31-Dec-2019 21:34:16 [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ testParent ---
build 31-Dec-2019 21:34:17 [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
build 31-Dec-2019 21:34:17 [INFO] Compiling 1 source file to D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\target\classes
build 31-Dec-2019 21:34:18 [INFO]
build 31-Dec-2019 21:34:18 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testParent ---
build 31-Dec-2019 21:34:18 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
build 31-Dec-2019 21:34:18 [INFO] skip non existing resourceDirectory D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\src\test\resources
build 31-Dec-2019 21:34:18 [INFO]
build 31-Dec-2019 21:34:18 [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ testParent ---
build 31-Dec-2019 21:34:18 [INFO] No sources to compile
build 31-Dec-2019 21:34:18 [INFO]
build 31-Dec-2019 21:34:18 [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testParent ---
build 31-Dec-2019 21:34:19 [INFO] No tests to run.
build 31-Dec-2019 21:34:19 [INFO]
build 31-Dec-2019 21:34:19 [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ testParent ---
build 31-Dec-2019 21:34:20 [INFO] Building jar: D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT\testParent\target\testParent-0.0.1-SNAPSHOT.jar
build 31-Dec-2019 21:34:20 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:20 [INFO] BUILD SUCCESS
build 31-Dec-2019 21:34:20 [INFO] ------------------------------------------------------------------------
build 31-Dec-2019 21:34:20 [INFO] Total time: 5.507s
build 31-Dec-2019 21:34:20 [INFO] Finished at: Tue Dec 31 21:34:20 CST 2019
build 31-Dec-2019 21:34:20 [INFO] Final Memory: 11M/18M
build 31-Dec-2019 21:34:20 [INFO] ------------------------------------------------------------------------
simple 31-Dec-2019 21:34:20 Finished task 'Package jar' with result: Success
simple 31-Dec-2019 21:34:20 Running post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:20 Running post build plugin 'Artifact Copier'
simple 31-Dec-2019 21:34:20 Publishing an artifact: Latest Parent jar
simple 31-Dec-2019 21:34:20 Finished publishing of artifact Shared artifact: [Latest Parent jar], pattern: [**/*.jar] anchored at: [testParent/target/] in 48.48 ms
simple 31-Dec-2019 21:34:20 Running post build plugin 'npm Cache Cleanup'
simple 31-Dec-2019 21:34:20 Running post build plugin 'Clover Results Collector'
simple 31-Dec-2019 21:34:20 Running post build plugin 'Docker Container Cleanup'
simple 31-Dec-2019 21:34:20 Successfully removed working directory at 'D:\atlassian\bamboo-home\xml-data\build-dir\HINF-TEST11-UT'
simple 31-Dec-2019 21:34:20 Finalising the build...
simple 31-Dec-2019 21:34:20 Stopping timer.
simple 31-Dec-2019 21:34:20 Build HINF-TEST11-UT-7 completed.
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'NCover Results Collector'
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'Clover Delta Calculator'
simple 31-Dec-2019 21:34:20 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 31-Dec-2019 21:34:20 All post build plugins have finished
simple 31-Dec-2019 21:34:20 Generating build results summary...
simple 31-Dec-2019 21:34:20 Saving build results to disk...
simple 31-Dec-2019 21:34:20 Logging substituted variables...
simple 31-Dec-2019 21:34:20 Indexing build results...
simple 31-Dec-2019 21:34:20 Finished building HINF-TEST11-UT-7.

Ray Lee December 31, 2019

Hi Jimmy,

I found that I cannot put the log output in this thread as it exceeds 20000 characters

Would you suggest what ways I can put the bamboo log here ? 

Thanks, 

Ray Lee December 31, 2019

Hi Jimmy,

I put the log in google share folder, would you see if you can download the logs from following link ? 

Log File 

 

Thanks for your help,

Ray

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2019

Hey Ray,

Thanks for making log files available I found something that might explain this.

So looking at the variables that are being set for each task in the build, I wanted to see what Bamboo thinks the branch is suppose to be.

Here is what is being set for the TestParent build in the log:

bamboo_planRepository_1_branch=sit

That is exactly what we expect to see, and it doesn't look like there is any other repository (again expected) so TestParent is doing exactly what we want it to and what we expect it to do. 

Now, if we look at the TestExtendParent build log:

bamboo_planRepository_1_branch=sit

We see that it is doing the same branch (which would indicate that Bamboo "thinks" it's running against the correct branch).  Now this is where things get interesting, becuase I also saw this:

bamboo_planRepository_2_branch=develop

That indicates to me that you have a second repository configured in the TestExtendParent build plan that doesn't exist in the TestParent plan, that is executing against the 'develop' branch.  Is it possible that this is placing source code in the same location as the first repo and overwriting the code that was checked out there?  I would be looking at exactly what this second repository is doing because I think that is what is causing your issues at this point.

I hope that helps!

-Jimmy

Ray Lee January 3, 2020


Thanks Jimmy on your deep investigation. Let me to explain in more details on what we configure on TestParent plan and TestExtendParent as follows:

 

TestExtendParent requires to use TestParent artifact jar to build (i.e. TestExtendParent depends on TestParent), so while bamboo starts to build TexstExtendParent, it tries to check out source code from TestParent project to build it (That's why you found that it checks out "develop" but not "sit" branch source code of TestParent)

 

Now Scenario like this:

(1) Build TestParent

(2) It has auto trigger on Build of TestExendParent

(3) Within TestExtendParent, it tries to check out source from TestParent

and build a shared artifact jar

(4) TestExtendParent uses the shared artifact jar to build its output

 

You may question why I do not use output a shared artifact directly from TestParent and use it in TestExtendParent, the reason is that we may sometimes need to manual build TestExtendParent without having TestParent to build.

 

Would you share me your advise or best practice to manage such parent and child projects build processes ?

 

I capture two screens to illustrate the plan within TestExtendParent and its check out source code from TestParent (there is no branch to specify for it)

 

Thanks for your advice in advance,

Ray

Ray Lee January 3, 2020

TestExtendParent Build Plan.pngTestExtendParent Build Plan (Source Code Check out for Parent).png

Ray Lee January 7, 2020

Hi Jimmy,

Maybe you are really busy, should I use the shared artifact directly from parent build instead of getting source code again in child build process in its build ? 

If yes, then I will change our practice to build all the things from parent project

Looking forwards to your reply.

Thanks,

Ray

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2020

Hi Ray,

My recommendation would be to use the artifact that was already built.  You don't really get the benefits of using a dependent child plan if the child plan is also building all of the same things that the parent was building.  That's just my thought.

-Jimmy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events