Remove envinject usage from maven-plugin-jobs.yaml

Instead of using envinject jenkins plugin just source the
variables from within the shell builder.

Change-Id: Ie5cef75578132c05872c5b7b9d16841a4515f979
This commit is contained in:
Joshua Hesketh 2014-06-27 15:37:56 +10:00
parent 4b249cfc09
commit d6e5c18a27

View File

@ -17,14 +17,8 @@
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
- inject:
properties-file: version.properties
- maven-target:
maven-version: Maven3
pom: pom.xml
goals: 'clean package'
properties:
- project-version=${{PROJECT_VER}}
source version.properties
mvn clean package -Dproject-version=$PROJECT_VER
publishers:
- console-log
@ -45,19 +39,13 @@
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
- inject:
properties-file: version.properties
- maven-target:
maven-version: Maven3
pom: pom.xml
goals: 'clean package'
properties:
- project-version=${{PROJECT_VER}}
source version.properties
mvn clean package -Dproject-version=$PROJECT_VER
publishers:
- war:
site: '{tarball-site}'
warfile: 'target/{name}-${{PROJECT_VER}}.jar'
warfile: 'target/{name}-*.jar'
target: 'tarballs/ci/{name}'
- console-log