Yes it looks like a post build action. It fails the build AFTER the maven
build was successful.
The only thing we can do is to add support for rollback later on.
You can open a feature request here -
https://issues.jfrog.org/jira/browse/HAP
Thanks
Yossi
On Thu, Sep 8, 2011 at 09:27, TheEnd <[email protected]>wrote:
> Here is the console output from Jenkins of an example Projekt. In the End
> the
> Status was marked as FAILURE.
> [INFO] Scanning for projects...
> [INFO] Initializing Artifactory Build-Info Recording
> [HUDSON] Collecting dependencies info
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building MavenMeetsJenkins 0.0.12-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> MavenMeetsJenkins ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> MavenMeetsJenkins ---
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> ...\workspace\MavenMeetsJenkins\src\main\resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> MavenMeetsJenkins ---
> [WARNING] File encoding has not been set, using platform encoding Cp1252,
> i.e. build is platform dependent!
> [INFO] Compiling 1 source file to
> ...\workspace\MavenMeetsJenkins\target\classes
> [INFO]
> [INFO] --- maven-pmd-plugin:2.5:pmd (pmd) @ MavenMeetsJenkins ---
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> [PMD] Successfully parsed file
> ...\workspace\MavenMeetsJenkins\target\pmd.xml of module MavenMeetsJenkins
> with 2 warnings.
> [PMD] Im pom.xml wurde keine Dateikodierung festgelegt, daher wird die
> vorgegebene Kodierung windows-1252 des aktuellen Systems verwendet. Damit
> wird der Build abhängig vom System, auf dem er läuft (siehe auch
>
> http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding
> Maven FAQ ).
> [PMD] Using set difference to compute new warnings
> [PMD] Setting build status to FAILURE since total number of annotations
> exceeds the threshold 0: [HIGH]
> [INFO]
> [INFO] --- findbugs-maven-plugin:2.3.2:findbugs (findMyBugs) @
> MavenMeetsJenkins ---
> [INFO] ****** FindBugsMojo execute *******
> [INFO] canGenerate is true
> [INFO] ****** FindBugsMojo executeFindbugs *******
> [INFO] Temp File is ...\workspace\MavenMeetsJenkins\target\findbugsTemp.xml
> [INFO] Fork Value is true
> [INFO] xmlOutput is false
> [FINDBUGS] Im pom.xml wurde keine Dateikodierung festgelegt, daher wird die
> vorgegebene Kodierung windows-1252 des aktuellen Systems verwendet. Damit
> wird der Build abhängig vom System, auf dem er läuft (siehe auch
>
> http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding
> Maven FAQ ).
> [FINDBUGS] Using set difference to compute new warnings
> [FINDBUGS] Not changing build status, since no threshold has been exceeded
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources
> (default-testResources) @ MavenMeetsJenkins ---
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> ...\workspace\MavenMeetsJenkins\src\test\resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> MavenMeetsJenkins ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @
> MavenMeetsJenkins ---
> [INFO] No tests to run.
> [INFO] Surefire report directory:
> ...\workspace\MavenMeetsJenkins\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [JENKINS] Zeichne Testergebnisse auf
> [INFO]
> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ MavenMeetsJenkins ---
> [INFO] Building jar:
>
> ...\workspace\MavenMeetsJenkins\target\MavenMeetsJenkins-0.0.12-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> MavenMeetsJenkins ---
> [INFO] Installing
>
> ...\workspace\MavenMeetsJenkins\target\MavenMeetsJenkins-0.0.12-SNAPSHOT.jar
> to
>
> ...\.m2\repository\de\kassens\MavenMeetsJenkins\0.0.12-SNAPSHOT\MavenMeetsJenkins-0.0.12-SNAPSHOT.jar
> [INFO] Installing ...\workspace\MavenMeetsJenkins\pom.xml to
>
> ...\.m2\repository\de\kassens\MavenMeetsJenkins\0.0.12-SNAPSHOT\MavenMeetsJenkins-0.0.12-SNAPSHOT.pom
> projectSucceeded de.kassens:MavenMeetsJenkins:0.0.12-SNAPSHOT
> [JENKINS] Archiving ...\workspace\MavenMeetsJenkins\pom.xml to
>
> ...\modules\de.kassens$MavenMeetsJenkins\builds\2011-09-02_08-25-46\archive\de.kassens\MavenMeetsJenkins\0.0.12-SNAPSHOT\MavenMeetsJenkins-0.0.12-SNAPSHOT.pom
> [JENKINS] Archiving
>
> ...\workspace\MavenMeetsJenkins\target\MavenMeetsJenkins-0.0.12-SNAPSHOT.jar
> to
>
> ...\modules\de.kassens$MavenMeetsJenkins\builds\2011-09-02_08-25-46\archive\de.kassens\MavenMeetsJenkins\0.0.12-SNAPSHOT\MavenMeetsJenkins-0.0.12-SNAPSHOT.jar
> [INFO] Artifactory Build Info Recorder: Deploying artifacts to
> http://myserver:8081/artifactory/MW_Repo
> [INFO] Deploying artifact:
>
> http://myserver:8081/artifactory/MW_Snapshot/de/kassens/MavenMeetsJenkins/0.0.12-SNAPSHOT/MavenMeetsJenkins-0.0.12-SNAPSHOT.jar
> [INFO] Deploying artifact:
>
> http://myserver:8081/artifactory/MW_Snapshot/de/kassens/MavenMeetsJenkins/0.0.12-SNAPSHOT/MavenMeetsJenkins-0.0.12-SNAPSHOT.pom
> [INFO] Artifactory Build Info Recorder: Deploying build info ...
> [INFO] Deploying build info to: http://myserver:8081/artifactory/api/build
> sessionEnded
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 36.546s
> [INFO] Finished at: Fri Sep 02 08:26:29 CEST 2011
> [INFO] Final Memory: 14M/35M
> [INFO]
> ------------------------------------------------------------------------
> [FINDBUGS] Aggregating results of MavenMeetsJenkins
> [FINDBUGS] Using set difference to compute new warnings
> [FINDBUGS] Not changing build status, since no threshold has been exceeded
> [PMD] Aggregating results of MavenMeetsJenkins
> [PMD] Using set difference to compute new warnings
> [PMD] Setting build status to FAILURE since total number of annotations
> exceeds the threshold 0: [HIGH]
> Der Versuch wurde ignoriert, eine E-Mail an eine leere Liste von Empfängern
> zu verschicken.
> channel stopped
> Sending e-mails to: [email protected]
> Finished: UNSTABLE
>
> I hope this will help to understand my problem.
>
> --
> View this message in context:
> http://forums.jfrog.org/Jenkins-Artifactory-Plugin-is-deploying-unstable-failed-builds-tp6753119p6770660.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops? How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users