-
Type:
Bug
-
Status: Resolved
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2.14.0
-
Component/s: None
-
Labels:None
Steps to reproduce:
1. Create a Generic job using legacy or a Gradle pipeline job with deployArtifacts set to false.
2. In case a Gradle job is created, add rtGradle.deployer.deployArtifacts buildInfo to deploy the artifacts.
3. Run the build
In the logs, the deployment is written twice (this is only in the logs):
For Generic:
Started by user admin name [EnvInject] - Loading node environment variables. Building on master in workspace /Users/alexeiv/Documents/Work/Jenkins/2.7.2/home/workspace/FreeJob For pattern: /Users/alexeiv/Documents/Work/RPM/*.* 2 artifacts were found Deploying artifact: http://192.168.56.1:9091/artifactory/yum-local/webmin-1.831-1.mga6.noarch.rpm Deploying artifact: http://192.168.56.1:9091/artifactory/yum-local/webmin-1.831-1.mga6.noarch.rpm
For pipeline Gradle:
Total time: 0.644 secs [Pipeline] deployArtifacts Deploying artifact: http://192.168.56.1:9091/artifactory/ForTest/gradle-example-minimal/1.0-SNAPSHOT/gradle-example-minimal-1.0-SNAPSHOT.jar Deploying artifact: http://192.168.56.1:9091/artifactory/ForTest/gradle-example-minimal/1.0-SNAPSHOT/gradle-example-minimal-1.0-SNAPSHOT.jar