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

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 Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
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