nitram509 / concourse-java-maven-test-prj Goto Github PK
View Code? Open in Web Editor NEWA test project for playing with concourse - Java, Maven, evtl. Spring Boot
License: MIT License
A test project for playing with concourse - Java, Maven, evtl. Spring Boot
License: MIT License
Hi,
I'm configuring a simple concourse pipeline to build a spring-boot app with maven and then deploy it to pivotal cloudfoundry. The problem is, that when deploying to CF I am unable to access the jar builded during the execution of maven package. Here is the pipeline and tasks files.
Pipeline:
**jobs:
name: package-deploy serial: true plan:
get: source-code trigger: true
task: package privileged: true file: source-code/ci/tasks/package.yml
put: resource-deploy-web-app params: manifest: source-code/manifest.yml path: project-package ---- resources:
name: source-code
type: git
source:
uri: MY_GIT_RESOURCE
branch: master
name: resource-deploy-web-app
type: cf
source:
api: https://api.run.pivotal.io
username: MY_USER_NAME
password: MY_PASS
organization: MY_ORG
space: MY_SPACE
skip_cert_check: true**
and the task yaml file:
**platform: linux
image_resource:
type: docker-image
source:
repository: nitram509/debian-openjdk8-maven-cmake-gcc
tag: latest
inputs:
name: source-code
outputs:
name: project-package
run:
path: mvn
args: ["-f", "source-code/pom.xml", "-DskipTests=true","-DoutputDirectory=project-package","package"]**
Here is the error message that pops when trying to PUT the jar file to the CF resource :
"error invalid path: found 0 files instead of 1 at path: /tmp/build/put/project-package/
I think there is some configuration that need to be done to be able to access the output of the package task during the PUT step but I couldn't find my way around it.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.