Pipeline Remote File Loader Plugin error `/develop@2/libLoader/`

2016-07-20 Thread Marco Pas
I am trying to use the Pipeline Remote File Loader Plugin and am facing an issue. My current `jenkinsfile looks as follows: ``` node('docker-slave') { stage 'Setup' fileLoader.fromGit('build-snippet', '', 'develop', '', '') } ``` The content of build-snippet: ``` stage 'Publish

How to simplify creation/maintenance of builds that are comparable?

2016-07-20 Thread Marco Pas
We just took to step to move our CI environment to Jenkins 2. We see that we are creating the same build over and over. The jenkinsfile is great, but now we see that we need to repeat it in every project. At the end that becomes it maintenance nightmare.. We have multiple git projects that are

Re: Pipeline: How to cache downloaded (gradle) dependencies using Docker SSH Slave

2016-06-23 Thread Marco Pas
https://discuss.gradle.org/ > , because there may be new information that can make this possible. > > -- > Craig > > > On Wed, Jun 22, 2016 at 4:48 AM, Marco Pas > wrote: > >> Now that we have a first successful build using a Jenkinsfile Pipeline we >> are look

Pipeline: How to cache downloaded (gradle) dependencies using Docker SSH Slave

2016-06-22 Thread Marco Pas
Now that we have a first successful build using a Jenkinsfile Pipeline we are looking on how to cache downloaded dependencies. Currently when we build our Gradle applications the dependencies are downloaded each time the Docker Slave is executed on a remote host. Is there a way to cache the down

How to pull an ECR image using Docker plugin / Pipeline (Docker BuildSlave)?

2016-06-21 Thread Marco Pas
Hi there we are tying to integrate a custom build of a docker Jenkins slave based on https://hub.docker.com/r/evarga/jenkins-slave/. We seem to hit a wall on how to pull these images from ECR into our buildslave nodes. We have create a Docker Template which needs to pull the image but we canno