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
The current settings (scripts) did not work in my environment. The commands are executed as sudo, then somewhat environment vriables aren't passed. So it seems to be added `-E` option. And according to jdk version change, jvm option `--add-opens=java.base/java.lang=ALL-UNNAMED` also needs to be added.
Additionally, the environment variables `JAVA_HOME`, `PATH` need to be added to Jenkins System Configuraion, as I issued docker#528.
sudo docker-compose -p app-$BUILD_NUMBER --file src/test/resources/docker-compose.yml down
101
+
sudo -E docker-compose -p app-$BUILD_NUMBER --file src/test/resources/docker-compose.yml down
102
102
----
103
103
+
104
104
. Uncheck the `Execute script only if build succeeds` and `Execute script only if build fails` options, so this script will run always when the build ends. This way, we make sure to always stop the services.
0 commit comments