Project

General

Profile

Actions

Bug #20439

closed

Bug #20320: Split test and build tasks in Jenkins file

Do not skip tests in when publising maven or else we will miss tests jar that are needed to build plugins

Added by Vincent MEMBRÉ almost 3 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

We dont publish test-jar anymore since we skip test on the webapp publish step

it ends with errors like this in plugins that needs this jar:

[ERROR] Failed to execute goal on project plugins-parent: Could not resolve dependencies for project com.normation.plugins:plugins-parent:pom:7.0.0~rc3-2.0.0: The following artifacts could not be resolved: com.normation.rudder:rudder-rest:jar:tests:7.0.0~rc3-SNAPSHOT, com.normation.rudder:rudder-web:jar:tests:7.0.0~rc3-SNAPSHOT: com.normation.rudder:rudder-rest:jar:tests:7.0.0~rc3-SNAPSHOT was not found in https://repository.rudder.io/maven/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of rudder-snapshot has elapsed or updates are forced -> [Help 1]

Actions

Also available in: Atom PDF