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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,077
Community Members
 
Community Events
184
Community Groups

After upgrade, Bamboo Java Spec failed, no ScriptBuildTask generated

Edited

Alright, this is resolved.  There are further error messages in the Bamboo server log.  Not sure why they were not pulled to the build log. 

=====

Bamboo upgraded from 6.8.2 to 7.2.1

We have been useing Bamboo Java Spec.  After upgrade, the build will fail with the following log messages.

simple	03-Mar-2021 13:55:46	User xxxx is moving build BB-BBB-JOB1-27
simple	03-Mar-2021 14:21:46	Build Branch Builds - Branch Build BJS - Default Job #27 (BB-BBB-JOB1-27) started building on agent Remote for Build Branch 53, bamboo version: 7.2.1
simple	03-Mar-2021 14:21:46	
simple	03-Mar-2021 14:21:46	Build working directory is D:\Bamboo\build-dir\BB-BBB-JOB1
simple	03-Mar-2021 14:21:47	Executing build Branch Builds - Branch Build BJS - Default Job #27 (BB-BBB-JOB1-27)
simple	03-Mar-2021 14:21:47	Running pre-build action: VCS Version Collector
simple	03-Mar-2021 14:21:47	Running pre-build action: Artifactory Release Staging
simple	03-Mar-2021 14:21:47	Starting task 'Listener' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
command	03-Mar-2021 14:21:47	Beginning to execute external process for build 'Branch Builds - Branch Build BJS - Default Job #27 (BB-BBB-JOB1-27)'\n ... running command line: \nD:\Atlassian\bamboo-home\temp\BB-BBB-JOB1-27-ScriptBuildTask-2715883387375057947.ps1\n ... in: D:\Bamboo\build-dir\BB-BBB-JOB1\n
build	03-Mar-2021 14:21:54	 :0 :  ::  :0 :
build	03-Mar-2021 14:21:54	Both revision can not be blank!! Branch has been deleted for sure.  Exiting out.
simple	03-Mar-2021 14:21:54	Failing task since return code of [powershell -NonInteractive -ExecutionPolicy bypass -Command D:\Atlassian\bamboo-home\temp\BB-BBB-JOB1-27-ScriptBuildTask-2715883387375057947.ps1] was 1 while expected 0
simple	03-Mar-2021 14:21:54	Finished task 'Listener' with result: Failed

Looking into bamboo-home\temp, there is no BB-BBB-JOB1-27-ScriptBuildTask-2715883387375057947.ps1 file. 

What could be the reason of failure?  And what are necessary steps to debug this? 

Meanwhile, I found once that there was a bamboo.specs.enabled variable showing in the audio log.  It was first "false" and then can be toggled to be "null" through GUI.  However, the option only showed up once in one branch creation and there is no trace of how it works. 

Regards,

 

 

1 answer

Additional info. 

Furthermore, Bamboo\build-dir\BB-BBB-JOB1 is empty. 

mvn test and mvn -Ppublish-specs are all successful w/o any error.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events