[JIRA] (JENKINS-39216) Declarative: auto-build Dockerfile and run in resulting image if provided

2 views
Skip to first unread message

andrew.bayer@gmail.com (JIRA)

unread,
Oct 24, 2016, 10:17:03 AM10/24/16
to jenkinsc...@googlegroups.com
Andrew Bayer created an issue
 
Jenkins / Improvement JENKINS-39216
Declarative: auto-build Dockerfile and run in resulting image if provided
Issue Type: Improvement Improvement
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2016/Oct/24 2:16 PM
Priority: Minor Minor
Reporter: Andrew Bayer

There should be an option for the Docker Pipeline configuration for Declarative Pipelines to point to a Dockerfile - if that option is given, then we should build that Dockerfile and run in the resulting image.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Oct 24, 2016, 10:26:03 AM10/24/16
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Improvement JENKINS-39216
 
Re: Declarative: auto-build Dockerfile and run in resulting image if provided

Hrm. Got a frustrating point here - we don't do checkout scm until after we've got our node/docker container/etc, but we need to do that checkout scm before we can do docker.build(...). Gotta think about this.

andrew.bayer@gmail.com (JIRA)

unread,
Oct 24, 2016, 11:13:03 AM10/24/16
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Oct 24, 2016, 11:13:03 AM10/24/16
to jenkinsc...@googlegroups.com
Andrew Bayer started work on Improvement JENKINS-39216
 
Change By: Andrew Bayer
Status: Open In Progress

andrew.bayer@gmail.com (JIRA)

unread,
Oct 24, 2016, 11:13:06 AM10/24/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Nov 4, 2016, 7:03:01 PM11/4/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy
pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineFromDockerfile.java
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineFromDockerfileScript.groovy
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AbstractModelDefTest.java
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java
pipeline-model-definition/src/test/resources/fromAlternateDockerfile.groovy
pipeline-model-definition/src/test/resources/fromDockerfile.groovy
http://jenkins-ci.org/commit/pipeline-model-definition-plugin/3e0001abe0822943f798ab3d27e2288afa644195
Log:
Merge pull request #38 from abayer/jenkins-39216

JENKINS-39216 Add "dockerfile" agent backend

Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/eb197a9a948d...3e0001abe082

scm_issue_link@java.net (JIRA)

unread,
Nov 4, 2016, 7:03:01 PM11/4/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy
pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineFromDockerfile.java
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineFromDockerfileScript.groovy

andrew.bayer@gmail.com (JIRA)

unread,
Nov 4, 2016, 7:04:01 PM11/4/16
to jenkinsc...@googlegroups.com
 

Will be released in 0.6.

Change By: Andrew Bayer
Status: In Review Resolved
Resolution: Fixed

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:18 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages