generated from Templates/Baseline
add upload command #3
@ -48,7 +48,8 @@ showSettings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uploadArtifact() {
|
uploadArtifact() {
|
||||||
curl -v --user "$PLUGIN_USER:$PLUGIN_PASSWORD" \
|
curl -v --output /dev/null --write-out "%{http_code}" \
|
||||||
|
--user "$PLUGIN_USER:$PLUGIN_PASSWORD" \
|
||||||
--upload-file "$PLUGIN_FILE_SOURCE" \
|
--upload-file "$PLUGIN_FILE_SOURCE" \
|
||||||
"$CI_FORGE_URL/api/packages/$PLUGIN_OWNER/generic/$PLUGIN_PACKAGE_NAME/$PLUGIN_PACKAGE_VERSION/$PLUGIN_FILE_NAME"
|
"$CI_FORGE_URL/api/packages/$PLUGIN_OWNER/generic/$PLUGIN_PACKAGE_NAME/$PLUGIN_PACKAGE_VERSION/$PLUGIN_FILE_NAME"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user