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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Deploy .war file via SSH on remote Wildfly Server



I would like to push my .war File after a successful build to my remote Wildfly server, which is accessible via SSH.

How can I do this? Is this even possible?




3 answers

How to Deploy .war file via SSH on windows remote Wildfly Server

Linux console to windows .Please help.

is there any plugins available in bamboo like tomcat for wildfly server.please help

Hi friends,


you can use those scripts.

Script Task:

rsync -avh -e "ssh -i $HOME/.ssh/id_rsa" ${bamboo.agentWorkingDirectory}/${bamboo.planKey}-JOB1/target/${bamboo.shortPlanName}-1.0-SNAPSHOT.war bamboo@${bamboo.app1_deployments}/${bamboo.shortPlanName}/${bamboo.buildNumber}/

SSH Task:

your deploy and deployment cli codes in here

Who will help us? I have that problem. I got error in SCP task for deployment.

Build Deployment of 'release-6' on 'Production' started building on agent Default Agent
24-Oct-2017 14:50:13 
24-Oct-2017 14:50:13Build working directory is /opt/atlassian/bamboo/xml-data/build-dir/196609/1179649-1245185
24-Oct-2017 14:50:13Executing build Deployment of 'release-6' on 'Production'
24-Oct-2017 14:50:13Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
24-Oct-2017 14:50:13Finished task 'Download release contents' with result: Success
24-Oct-2017 14:50:13Starting task 'SCP Task' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
24-Oct-2017 14:50:13Error occurred while running Task '(3)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask.
24-Oct-2017 14:50:13java.lang.NullPointerException
24-Oct-2017 14:50:13        at<init>(
24-Oct-2017 14:50:13        at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(
24-Oct-2017 14:50:13        at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13        at com.atlassian.bamboo.plugins.scp.ScpTask.execute(
24-Oct-2017 14:50:13        at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$1(
24-Oct-2017 14:50:13        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(
24-Oct-2017 14:50:13        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
24-Oct-2017 14:50:13        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13        at$
24-Oct-2017 14:50:13        at$
24-Oct-2017 14:50:13        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13        at$
24-Oct-2017 14:50:13        at com.atlassian.bamboo.utils.BambooRunnables$
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13        at$
24-Oct-2017 14:50:13        at
24-Oct-2017 14:50:13Finalising the build...
24-Oct-2017 14:50:13Stopping timer.
24-Oct-2017 14:50:13Build 1179649-1245185-1376281 completed.
24-Oct-2017 14:50:13Finished processing deployment result Deployment of 'release-6' on 'Production'

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events