Hi,
We use Jenkins to do deferred deployment of our applications on our production servers.
For this we use Gradle with the Cargo plugin (2.8.0)
It works very well but the deployment order is then reset to 100. This is highly problematic for some applications where this value is important.
my cargo task is
task deployOnGlassfish(type: CargoDeployRemote, dependsOn: validateBranch) {
description = "Deploys WAR to Glassfish ." // description of task
containerId = 'glassfish5x'
timeout = Duration.ofMinutes(2)
hostname = "$fedris_test"
protocol = 'https'
port = 4848
username = userLogin // username of tomcat
password = userPassword // password of the tomcat
deployables = [
new Deployable(files: files("""${rootProject.projectDir}\\build/libs/${applicationName}.war"""), context: """${glassfishApplicationName}""")
]
}
after contacting Payara support :
We reviewed the situation with the Cargo plugin, and the problem is that the Gradle version (the one you were using during the discussion on this ticket) is not supported by Codehaus directly, a third party developing the plugin independently. With the Maven version of the plugin we managed to get the deployment order working properly, but sadly we cannot do anything about the Gradle version. You will probably have to raise an issue on their Github page if you require the bug to be fixed.
So is it possible to do something about this?
THANKS
Hi,
We use Jenkins to do deferred deployment of our applications on our production servers.
For this we use Gradle with the Cargo plugin (2.8.0)
It works very well but the deployment order is then reset to 100. This is highly problematic for some applications where this value is important.
my cargo task is
after contacting Payara support :
So is it possible to do something about this?
THANKS