You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation is saying:
Note that that when source is specified, the version and plugin_url parameters will have no effect on the plugin retrieval URL.
The documentation is saying:
Note that that when source is specified, the version and plugin_url parameters will have no effect on the plugin retrieval URL.
I have the following yaml:
jenkins::plugin_hash:
'credentials':
version: 1.24
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/credentials.hpi'
'ssh-credentials':
version: 1.11
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/ssh-credentials.hpi'
'scm-api':
version: 0.2
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/scm-api.hpi'
'mailer':
version: 1.15
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/mailer.hpi'
'git':
version: 2.4.0
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/git.hpi'
'git-client':
version: 1.19.0
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/git-client.hpi'
'deployit-plugin':
version: 5.0.0
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/deployit-plugin.hpi'
'job-dsl':
version: 1.39
source: 'file:///vagrant/salt/states/puppetmaster/files/jenkins-external-resources/job-dsl.hpi'
The problem:
credentials.hpi, ssh-credentials.hpi and mailer.hpi are restarting jenkins with every puppet run as shown below:
[root@jenkinsagent ~]# ps -ef | grep -i jenkins
jenkins 5673 1 10 10:11 ? 00:00:20 java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
root 5875 4868 0 10:14 pts/0 00:00:00 grep --color=auto -i jenkins
[root@jenkinsagent ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for jenkinsagent.home
Info: Applying configuration version '1445588078'
Notice: /Stage[main]/Jenkins::Plugins/Jenkins::Plugin[credentials]/Archive::Download[credentials.hpi]/Exec[download archive credentials.hpi and check sum]/returns: executed successfully
Info: Archive::Download[credentials.hpi]: Scheduling refresh of Service[jenkins]
Notice: /Stage[main]/Jenkins::Plugins/Jenkins::Plugin[credentials]/File[/var/lib/jenkins/plugins/credentials.hpi]/seluser: seluser changed 'unconfined_u' to 'system_u'
Notice: /Stage[main]/Jenkins::Plugins/Jenkins::Plugin[ssh-credentials]/Archive::Download[ssh-credentials.hpi]/Exec[download archive ssh-credentials.hpi and check sum]/returns: executed successfully
Info: Archive::Download[ssh-credentials.hpi]: Scheduling refresh of Service[jenkins]
Notice: /Stage[main]/Jenkins::Plugins/Jenkins::Plugin[ssh-credentials]/File[/var/lib/jenkins/plugins/ssh-credentials.hpi]/seluser: seluser changed 'unconfined_u' to 'system_u'
Notice: /Stage[main]/Jenkins::Plugins/Jenkins::Plugin[mailer]/Archive::Download[mailer.hpi]/Exec[download archive mailer.hpi and check sum]/returns: executed successfully
Info: Archive::Download[mailer.hpi]: Scheduling refresh of Service[jenkins]
Notice: /Stage[main]/Jenkins::Plugins/Jenkins::Plugin[mailer]/File[/var/lib/jenkins/plugins/mailer.hpi]/seluser: seluser changed 'unconfined_u' to 'system_u'
Info: Class[Jenkins::Plugins]: Scheduling refresh of Class[Jenkins::Service]
Info: Class[Jenkins::Service]: Scheduling refresh of Service[jenkins]
Notice: /Stage[main]/Jenkins::Service/Service[jenkins]/enable: enable changed 'false' to 'true'
Notice: /Stage[main]/Jenkins::Service/Service[jenkins]: Triggered 'refresh' from 4 events
Notice: Applied catalog in 3.33 seconds
[root@jenkinsagent ~]# ps -ef | grep -i jenkins
jenkins 6031 1 75 10:14 ? 00:00:09 java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
root 6104 4868 0 10:14 pts/0 00:00:00 grep --color=auto -i jenkins
[root@jenkinsagent ~]#
The text was updated successfully, but these errors were encountered: