Making a Course on Pipeline Plugin

2016-05-25 Thread Kent Johnson
Hi all, I am making a course on how to use Jenkins with the Pipeline plugin to automate continuous integration and builds. My goal is to make having a short, low-noise, high-reliability feedback loop a practical possibility for the average developer. I am thinking this means that I would show how

Re: Making a Course on Pipeline Plugin

2016-05-27 Thread Kent Johnson
nt, but here are my suggestions: > > Jenkinsfile DSL > > Scaling (what are the design options for managing multiple projects? How > to share code between them? ) > > Integrations (like pushing artifacts to S3) > > > -- global > > On 25/05/2016 16:47, Kent Johnson wrot

Re: [Blue Ocean] A new user experience project for Jenkins

2016-05-27 Thread Kent Johnson
James, this looks really valuable and useful. I am looking to create one or two video training courses involving the Pipeline plugin suite. it is great to see the work you have done with Blue Ocean. Is Blue Ocean the future of the Jenkins UI? If so, I'd like to build the training courses around

Workflow with Dockerfile within build step

2015-03-26 Thread Kent Johnson
// DEPLOY TO HOST // sh "scp **/build/libs/*.jar kent@node-app-01:/opt/kent/skeleton" // CLEAN UP OLD BINARY // sh "ssh kent@node-app-01 pkill -f \"/opt/kent/skeleton/skeleton*\"" // Build Docker image sh "docker build -t kentoj/sksvc:1

Re: Workflow with Dockerfile within build step

2015-03-26 Thread Kent Johnson
I am using version 1.602 of jenkins I am also launching Jenkins via a service from Ubuntu 14.04 I am using Java 1.8u40 to launch Jenkins I am using version 1.3 of the Workflow: Aggregator plugin On Thursday, March 26, 2015 at 4:48:47 PM UTC-6, Kent Johnson wrote: > > Has anyone had any luc

[workflow-plugin] Access to environment variables in flow.groovy

2015-03-27 Thread Kent Johnson
I haven't seen anywhere guidance on how to access environment variables such as BUILD_NUMBER from a flow.groovy workflow definition script? I tried Timur's solution

Re: Workflow with Dockerfile within build step

2015-03-27 Thread Kent Johnson
I solved the issue. It works just fine to have the flow.groovy call the Docker Engine. It turns out my problem was that I had no Dockerfile in my workspace because I forgot to send a commit through my source control system. All I had to do was commit and then call the Dockerfile from a "sh" blo

Re: Jenkins add credentials window not works

2015-03-27 Thread Kent Johnson
When you say the window is not shown correctly which window are you referring to? On Friday, March 27, 2015 at 2:33:18 AM UTC-6, Christopher Auth wrote: > > >

Re: [workflow-plugin] Access to environment variables in flow.groovy

2015-04-01 Thread Kent Johnson
This issue was resolved by Jesse Glick back in December of 2014 according to this JIRA: JENKINS-26194 All that is needed to access environment variables in the flow.groovy of a

Re: [workflow-plugin] Groovy CPS DSL from SCM and Stash notification trigger

2015-05-13 Thread Kent Johnson
Tom, I am working out the same sort of thing with Jenkins Workflows and GitLab. It was very simple to get working for me. All I had to do was 1. make a new workflow job, 2. check the "Trigger builds remotely" box 3. set an authentication token 4. Go to my repository settings in git

Re: Proposed way to deploy a war-file to a docker container?

2015-05-26 Thread Kent Johnson
Stefan, are you still trying to do this? Though I do not know how to use selenium I do know how to provision a testing environment with docker from a workflow script using simple shell commands. If I can help out here I would like to. On Saturday, January 24, 2015 at 9:55:26 AM UTC-7, Stefan Lo