How to read Jenkins console SVN output in the Maven MOJO -


i have jenkins job first update code svn repository , need work on updated files svn in maven plugin.

so, how can updated files list jenkins mojo (extends org.apache.maven.plugin.abstractmojo) class?

i think 1 way read jenkins console where, svn log printed , parse console output , updated files list. think there better way this.

thanks.

so need record state of files , afterwards need check files have changed. problem here is: called on rev 3 , next time called rev 7, update (picking changed / new files) has being done (for example) jenkins , need know files have been changed/added? can being done using supplemental information stored in target folder (for example fingerprints of files) checked maven-compiler-plugin does. reading svn brings same problem? state have been called first time?

you need store information last update...so store revision number somewhere? next time called compare stored , can make decision do...

better such things on file base independent of scm system...but not change need identify somehow file has been changed...

may @ http://maven.apache.org/shared/maven-shared-incremental/ might worth...

furthermore need implement kind of impact analyzis checks things change class (lets in java) class used class b need compile class b not allways...there special cases consider... influences of other informations configurations (for example pom file change)?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -