Переглянути джерело

Jenkins configuration documented

benjamin.schwertfeger@gmail.com 13 роки тому
батько
коміт
8cc5206647

+ 9 - 1
releng/org.yakindu.base.releng/hudson.README

@@ -1,8 +1,14 @@
 To execute this build as a Hudson build job, you have to configure the following:
 
+Parameterized-build:
++ Run Parameter
+	Name: base.target.job
+	Project: YAKINDU_Base_target
+	Description: Select the build to be promoted.
+
 Source-Code-Management:
 + SVN
-	URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/releng
+	URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/releng
 	Location: releng
 + SVN
 	URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/de.itemis.xtext.utils/plugins
@@ -44,6 +50,8 @@ Build:
 		clean verify -s ../build/org.yakindu.base.releng/settings.xml
 	POM File
 		../build/org.yakindu.base.releng/pom.xml
+	Properties
+		p2.target.repository=${env.base.target.job}artifact/update-site
 	Profiles
 	JVM Options
 

releng/org.yakindu.base.releng/promote.hudson.README → releng/org.yakindu.base.releng/hudson.promote.README


+ 29 - 0
releng/org.yakindu.base.releng/hudson.target.README

@@ -0,0 +1,29 @@
+To execute this build as a Hudson build job, you have to configure the following:
+
+Source-Code-Management:
++ SVN
+	URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/releng
+	Location: releng
+ 
+Build:
++ Invoke Maven 3
+	Goals
+		clean verify
+	POM File
+		org.yakindu.base.target.parent/pom.xml
+	Profiles
+	JVM Options
+
++ Execute Shell
+	Command
+		if [ -d "update-site" ]; then
+			rm -fr update-site
+		fi
+		mkdir update-site
+		cp -R releng/org.yakindu.base.target.repository/target/repository/* update-site/
+	
+Post-Build-Actions:
++ Archive the artifacs
+	Files to archive
+		update-site/**
+