This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template@staging:~/template$ set -x ; cd /home/template/template/current | |
| + set -x | |
| + cd /home/template/template/current | |
| + builtin cd /home/template/template/current | |
| + local result=0 | |
| + __rvm_project_rvmrc | |
| + local cwd | |
| + cwd=/home/template/template/current | |
| + : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template@staging:~/template/current$ set -x ; cd /home/template/template/current | |
| + set -x | |
| + cd /home/template/template/current | |
| + builtin cd /home/template/template/current | |
| + local result=0 | |
| + __rvm_project_rvmrc | |
| + local cwd | |
| + cwd=/home/template/template/current | |
| + : | |
| + [[ -z /home/template/template/current ]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTTP ERROR 500 | |
| Problem accessing /. Reason: | |
| jar:file:/var/cache/jetty/Jetty_0_0_0_0_8983_jenkins.war____sltqet/webapp/WEB-INF/lib/jenkins-core-1.403.jar!/lib/layout/layout.jelly:92:54: <st:adjunct> AdjunctManager is not installed for this application | |
| Caused by: | |
| org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jetty/Jetty_0_0_0_0_8983_jenkins.war____sltqet/webapp/WEB-INF/lib/jenkins-core-1.403.jar!/lib/layout/layout.jelly:92:54: <st:adjunct> AdjunctManager is not installed for this application | |
| at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:709) | |
| at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@jenkins:~# rvm use ree | |
| Using /usr/local/rvm/gems/ree-1.8.7-2011.03 | |
| root@jenkins:~# which bundle | |
| /usr/local/rvm/gems/ree-1.8.7-2011.03/bin/bundle | |
| root@jenkins:~# rvm info | |
| ree-1.8.7-2011.03: | |
| system: | |
| uname: "Linux jenkins.local 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| System Properties | |
| Name ↓ | |
| Value | |
| JENKINS_HOME /usr/share/jetty/webapps/jenkins_home | |
| file.encoding ANSI_X3.4-1968 | |
| file.encoding.pkg sun.io | |
| file.separator / | |
| java.awt.graphicsenv sun.awt.X11GraphicsEnvironment | |
| java.awt.headless true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var nameserver = /^((([a-z0-9]([a-z0-9\-]{0,61}[a-z0-9])?\.)+[a-z]{2,6})|(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))$/i; | |
| $('#configure_domains_form').submit(function() { | |
| return $('input[name^="domainns"]').each(function(){ | |
| if(nameserver.test($(this).val())){ | |
| // Do nothing | |
| } | |
| else{ | |
| if ($(this).val() == ""){ | |
| if($(this).attr("name") == "domainns3" || $(this).attr("name") == "domainns4"){ | |
| // Do nothing, it's ok for these to be Blank |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user rack_app[:user] do | |
| home "/home/#{rack_app[:user]}" | |
| shell "/bin/bash" | |
| supports :manage_home => true | |
| action :create | |
| end | |
| ssh_key "github" do | |
| user rack_app[:user] | |
| key "FOOOBAR" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define :ssh_key, :key => nil, :sort => "private", :user => "root" do | |
| unless node[:etc][:passwd].has_key?(params[:user]) | |
| # Need to reload ohai if we can't find the user | |
| ruby_block "reload_ohai" do | |
| block do | |
| o = Ohai::System.new | |
| o.all_plugins | |
| node.automatic_attrs.merge! o.data | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .... | |
| source ~/.profile | |
| .... |