disable curl output
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/test-image Pipeline was successful

This commit is contained in:
OCram85 2024-05-14 08:55:29 +02:00
parent 2c1e39ddc7
commit 774235da7f

View File

@ -48,7 +48,7 @@ showSettings() {
}
uploadArtifact() {
cout=$(curl -v --output /dev/null --write-out "%{http_code}" \
cout=$(curl --output /dev/null --write-out "%{http_code}" \
--user "$PLUGIN_USER:$PLUGIN_PASSWORD" \
--upload-file "$PLUGIN_FILE_SOURCE" \
"$CI_FORGE_URL/api/packages/$PLUGIN_OWNER/generic/$PLUGIN_PACKAGE_NAME/$PLUGIN_PACKAGE_VERSION/$PLUGIN_FILE_NAME")
@ -59,8 +59,8 @@ main() {
if [ -n "$PLUGIN_DEBUG" ]; then
sayW "Debug mode enabled."
showSettings
sayW "Available ENV vars:"
showENV
#sayW "Available ENV vars:"
#showENV
fi
uploadArtifact
}