You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task :projectsExportV1 FAILED
Error in getListVariablesV1FromConfig
timeout getAllVariablesFromV1 Request
Error in getListVariablesV2FromConfig
timeout getListVariablesV1FromConfig
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':projectsExportV1'.
java.net.SocketTimeoutException: timeout
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Create a build file: Example ofbuild.projectsExportV1.gradle:
plugins {
id "io.saagie.gradle-saagie-dataops-plugin" version "2.1.11"
}
saagie {
server {
url = "REPLACE_SAAGIEURL" // <=== add unreachable server like - http://example.com:81
login = "REPLACE_SAAGIELOGIN"
password = "REPLACE_SAAGIEPASSWORD"
environment = "REPLACE_SAAGIE"
jwt = true
timeout = 15 // <==== change the timeout
}
...
}
Export job using this commande : The command line : gradle -b build.projectsExportV1.gradle projectsExportV1
Job have to fail with the given timeout time
> Task :projectsExportV1 FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':projectsExportV1'.
> java.net.ConnectException: Failed to connect to example.com/2606:2800:220:1:248:1893:25c8:1946:81
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
1 actionable task: 1 executed
Task to export variables from V1 was timing out. Tried to increase by specifying the timeout value but its not working.
plugins {
id "io.saagie.gradle-saagie-dataops-plugin" version "2.1.10"
}
saagie {
server {
url = saagieurl
login = saagieuserid
password = saagiepassword
environment = saagieplatformid
jwt = true
timeout = 20000
}
env {
include_all_var=true
}
exportArtifacts {
export_file = "./env/v1.zip"
overwrite=true
temporary_directory='./tmp'
}
}
OUTPUT
saagies-mbp:Gradle shivakumar$ gradle -b build.gradle.projectExportEnvV1 projectExportV1
FAILURE: Build failed with an exception.
Execution failed for task ':projectsExportV1'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 23s
1 actionable task: 1 executed
The text was updated successfully, but these errors were encountered: