Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo SCP Task not working ver 6.7.1

scp task not working. tried on 6.4.1 and upgraded this weekend to 6.7.1 and still not working.

See logs

Build Deployment of 'release-2' on 'INT' started building on agent Default Agent
21-Jan-2019 10:48:18 
21-Jan-2019 10:48:18 Build working directory is /opt/bamboo/bamboo-home/xml-data/build-dir/4489217-4554754
21-Jan-2019 10:48:18 Executing build Deployment of 'release-2' on 'INT'
21-Jan-2019 10:48:18 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
21-Jan-2019 10:48:18 Cleaning working directory '/opt/bamboo/bamboo-home/xml-data/build-dir/4489217-4554754'
21-Jan-2019 10:48:18 Finished task 'Clean working directory task' with result: Success
21-Jan-2019 10:48:18 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
21-Jan-2019 10:48:18 Finished task 'Download release contents' with result: Success
21-Jan-2019 10:48:18 Starting task 'Download Artifact to working directory' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
21-Jan-2019 10:48:18 Error occurred while running Task 'Download Artifact to working directory(3)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask.
21-Jan-2019 10:48:18 java.lang.NullPointerException
21-Jan-2019 10:48:18         at java.io.File.<init>(File.java:360)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:198)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:137)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:112)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:107)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$1(TaskExecutorImpl.java:315)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:315)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:129)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:123)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
21-Jan-2019 10:48:18         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
21-Jan-2019 10:48:18         at java.lang.Thread.run(Thread.java:748)
21-Jan-2019 10:48:18 Finalising the build...
21-Jan-2019 10:48:18 Stopping timer.
21-Jan-2019 10:48:18 Build 4489217-4554754-5668874 completed.
21-Jan-2019 10:48:18 Finished processing deployment result Deployment of 'release-2' on 'INT'

 

 

 

1 answer

0 votes

Hi! 

 

Looks like the problem related the shared artifact. 

Have you check it? 

And are you planning update Bamboo to 6.8.0 release? :)

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you