Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins image - Strange behaviour when setting up plugins #2

Open
henrist opened this issue Aug 6, 2015 · 0 comments
Open

jenkins image - Strange behaviour when setting up plugins #2

henrist opened this issue Aug 6, 2015 · 0 comments

Comments

@henrist
Copy link
Contributor

henrist commented Aug 6, 2015

It seems plugins are not always installed (updated) when putting them in plugins.txt.

Reproduce:

  • Let plugins.txt contain only mailer:1.15
  • Use this script:
set -e
n=jenkins-test

docker build -t cantara/jenkins .

while true; do
    docker stop $n || true
    docker rm $n || true
    docker rm jenkins-data || true

    sleep 10

    docker create -v /var/jenkins_home --name jenkins-data cantara/jenkins
    docker run -d -p 8080:8080 --volumes-from jenkins-data --name $n cantara/jenkins

    sleep 40
done
  • Open http://localhost:8080/pluginManager/installed after each time new container is run.
  • Expected result: Plugin mailer is in version 1.15.
  • Actual result: Plugin mailer is sometimes version 1.11 (original version) and sometimes 1.15 from plugins.txt override.
@totto totto changed the title Strange behaviour when setting up plugins jenkins image - Strange behaviour when setting up plugins Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant