Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Adjust jenkins-service to store Jenkinsfiles in config repository (project) #50

Open
robertjahn opened this issue Apr 23, 2019 · 1 comment

Comments

@robertjahn
Copy link

Is your feature request related to a problem? Please describe.
Currently, the jenkins-service keptn jobs are set up using the "master" branch. For example:
https://github.com/keptn/jenkins-service/blob/release-0.1.x/docker-jenkins/configs/jobs/deploy/config.xml#L84

But Keptn install is using 0.1.0 for jenkins-service
https://github.com/keptn/keptn/blob/release-0.2.x/install/scripts/deployServices.sh#L19

Describe the solution you'd like
Update to have it use the branch used during install. Better yet to not have the pipeline go to internet to get these Jenkins files

Describe alternatives you've considered
Manually update my Jenkins job configuration

Additional context
image

@johannes-b johannes-b changed the title Adjust jenkins-service to use Jenkinsfiles from same branch Adjust jenkins-service to store Jenkinsfiles in config repository (project) May 7, 2019
@johannes-b
Copy link
Collaborator

The current keptn release builds on a Jenkins that does not checkout master, but rather the branch used during installation. Although this solves the dependency to the master branch of the jenkins-service, the approach is not the best.

Instead of checking out the Jenkinsfile from a repository, the jenkins-service should upload it to the config repo.

@dirkwall dirkwall transferred this issue from keptn/keptn Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants