openshift - Where is jenkins config.xml? And why is this error appearing? -
these 2 parts because think they're related each other.
i'm running jenkins' latest lts war file (v1.596.2) directly command line. i'm using openshift diy cartridge this.
i have set "jenkins_home" environment variable "$openshift_data_dir/jenkins".
export jenkins_home=$openshift_data_dir/jenkins
part 1: where config.xml file?
this works fine , files seem have been stored there fine, can't find config.xml file... i'm overlooking can't find anywhere!
part 2: boot error
i have error when boot server using:
java -jar jenkins.war --httplistenaddress=$openshift_diy_ip --ajp13port=-1
it shows error message in console: http://pastebin.com/30ebbhn5
the server boot, shows screen: http://i.imgur.com/pkvydep.png
i know openshift allows bind port 8080, otherwise have bind private port in range 15000 - 35530 (see this). however, couldn't find documentation on ports jenkins tries bind or how change bindings, other main http (8080) , https (not used) ports.
(my jenkins cartridge url - may not running)
any ideas should try?
the config.xml (https://wiki.jenkins-ci.org/display/jenkins/administering+jenkins) according page stored in jenkins_home location, need create there (along other configuration files need). should set having set jenkins_home folder in openshift_data_dir.
as port issue. might check out current jenkins cartridge openshift provides (https://github.com/openshift/origin-server/tree/master/cartridges/openshift-origin-cartridge-jenkins) , check out of configuration files using, or startup commands , see if information helps yours running.
also, don't use export jenkins_home=$openshift_data_dir/jenkins use "rhc set-env " instead, it's safer exporting...
Comments
Post a Comment