Я использовал приведенную ниже команду curl в Gitbash, моя ОС - windows. Я использую Nexus3.
curl -v -L -user raghunath.dhara:password --upload-file /jenkins/workspace/Raghu/SonarQube/target/spring-petclinic-2.0.0.BUILD-SNAPSHOT.jar
https://uat.alm.com/nexus/content/repositories/NexusTest1_Release/
, затем
curl -v -user raghunath.dhara:password --upload-file spring-petclinic-2.0.0.BUILD-SNAPSHOT.jar https://uat.alm.com/nexus/repository/Nexus_Test1_Snapshot/
Я получаю сообщение об ошибке ниже -
+ curl -v -L -user raghunath.dhara:9051045881Aa
/tmp/jenkins1304915543913451438.sh: 3: /tmp/jenkins1304915543913451438.sh: --upload-file: not found
Build step 'Execute shell' marked build as failure
[7] 1022
bash: --upload-file: command not found
Пожалуйста, помогите мне здесь, как я могу решить эту проблему.
Заранее спасибо Невозможно расширить значение SHA для фиксации