Enables syntax completion for ces-build-lib in Jenkinsfile

This commit is contained in:
Johannes Schnatterer
2018-07-12 11:06:54 +02:00
parent f8b8400dce
commit 41a937c15c
2 changed files with 12 additions and 0 deletions

2
Jenkinsfile vendored
View File

@@ -1,4 +1,6 @@
#!groovy
// Keep the version in sync with the one used in pom.xml in order to get correct syntax completion.
@Library('github.com/cloudogu/ces-build-lib@9aadeeb')
import com.cloudogu.ces.cesbuildlib.*

10
pom.xml
View File

@@ -145,6 +145,16 @@
<version>${mokito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- Dependency used in Jenkinsfile. Including this in maven provides code completion in Jenkinsfile. -->
<groupId>com.github.cloudogu</groupId>
<artifactId>ces-build-lib</artifactId>
<!-- Keep this version in sync with the one used in Jenkinsfile -->
<version>9aadeeb</version>
<!-- Don't ship this dependency with the app -->
<optional>true</optional>
</dependency>
</dependencies>