What's causing me the error? (Please see the attached image..)

I'm setting up my deployment plan and I'm using SCP task.. When I try to deploy, I get this error..

error.PNGconfig.PNG

1 answer


simple 13-Jul-2017 13:51:06 Build Deployment of 'release-1' on 'APCIS Production Environment' started building on agent Default Agent simple 13-Jul-2017 13:51:06 simple 13-Jul-2017 13:51:06 Build working directory is /var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026 simple 13-Jul-2017 13:51:06 Executing build Deployment of 'release-1' on 'APCIS Production Environment' simple 13-Jul-2017 13:51:06 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' simple 13-Jul-2017 13:51:06 Cleaning working directory '/var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026' simple 13-Jul-2017 13:51:06 Finished task 'Clean working directory task' with result: Success simple 13-Jul-2017 13:51:06 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 13-Jul-2017 13:51:06 Build always requires a clean checkout simple 13-Jul-2017 13:51:06 Cleaning build directory '/var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026/apcis' simple 13-Jul-2017 13:51:06 Updating source code to the latest revision simple 13-Jul-2017 13:51:07 Git: Updating references simple 13-Jul-2017 13:51:07 Git: simple 13-Jul-2017 13:51:07 Fetching '+refs/heads/master:refs/heads/master' from 'ssh://git@bitbucket.apc.edu.ph:7999/apcdp/apcis-cobalt-codebase.git'. simple 13-Jul-2017 13:51:07 Checking out revision 0b2533857de137c6cc28ce863b1e69d96223e4e4. simple 13-Jul-2017 13:51:07 Creating local git repository in '/var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026/apcis/.git'. simple 13-Jul-2017 13:51:08 Updated source code to revision: 0b2533857de137c6cc28ce863b1e69d96223e4e4 simple 13-Jul-2017 13:51:08 Finished task 'Source Code Checkout' with result: Success simple 13-Jul-2017 13:51:08 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' simple 13-Jul-2017 13:51:08 Finished task 'Download release contents' with result: Success simple 13-Jul-2017 13:51:08 Starting task 'Deploy via SCP task' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask' error 13-Jul-2017 13:51:08 Error occurred while running Task 'Deploy via SCP task(3)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask. error 13-Jul-2017 13:51:08 java.lang.NullPointerException error 13-Jul-2017 13:51:08 at java.io.File.<init>(File.java:360) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:205) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:144) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:119) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:113) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$1(TaskExecutorImpl.java:280) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:223) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:280) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:69) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:185) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:122) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:115) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:47) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 13-Jul-2017 13:51:08 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) error 13-Jul-2017 13:51:08 at java.lang.Thread.run(Thread.java:748) simple 13-Jul-2017 13:51:08 Finalising the build... simple 13-Jul-2017 13:51:08 Stopping timer. simple 13-Jul-2017 13:51:08 Build 1343489-1409026-1572870 completed. simple 13-Jul-2017 13:51:08 Finished processing deployment result Deployment of 'release-1' on 'APCIS Production Environment'

what version of Bamboo do you have?

It seemed to work now.. I changed the Artifact field to Local Files..

 

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,087 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot