1

There's a jenkins server where my jenkinswar.war file is present in /var/lib/jenkins/workspace/project2/target/jenkinswar.war

I want this file to be transferred to other remote server at /opt/docker location.

So I have configured as below:

enter image description here

Even though the build is successful, still the files transferred are 0.

enter image description here

1 Answer 1

1

You can try to add an archive stage before this, maybe it isn't picking it because the war file isn't present when it needs to copy... you can also try using '*/target/**/jenkinswar.war' for your source file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.