File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
subprojects/listener/src/main/groovy/org/pipelinelabs/pipeline/listen/core Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 11apply from : script(' requireJavaVersion7' )
22apply from : script(' dependencies' )
3+ apply plugin : ' distribution'
34
45description = ' Pipeline --the Continuous Delivery (CD) tool, which we and all stakeholders of the CD pipeline love to use'
56group = ' org.pipelinelabs.pipeline'
@@ -16,10 +17,30 @@ subprojects {
1617 version = rootProject. version
1718}
1819
20+ distributions {
21+ main {
22+ contents {
23+ into(' bin' ) {
24+ from { project(' :listener' ). startScripts. outputs. files }
25+ from { project(' :runner' ). startScripts. outputs. files }
26+ fileMode = 0755
27+ }
28+ into(' lib' ) {
29+ def libs = []
30+ libs << project(' :listener' ). configurations. runtime - project(' :runner' ). configurations. runtime
31+ libs << project(' :runner' ). configurations. runtime
32+ from libs
33+ from project(' :listener' ). jar
34+ from project(' :runner' ). jar
35+ }
36+ }
37+ }
38+ }
39+
1940String createProjectGroupId (Project root , Project project ) {
2041 root. group << ' .' << project. name. replaceAll(' -' , ' .' )
2142}
2243
2344File script (String name ) {
2445 project. file(" gradle/${ name} .gradle" )
25- }
46+ }
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ class GitWorker implements Managed {
2929 def dir = Files . createTempDirectory(" pipeline/" )
3030 List envProps = null
3131 " git clone ${ event.url} " . execute(envProps, dir. toFile())
32- // TODO: Call pipe-runner
32+ " pipe-runner run project.pipe " . execute(envProps, dir . toFile())
3333 }
3434}
You can’t perform that action at this time.
0 commit comments