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
| set "JAVA_HOME=PATH OF JDK ex.C:\zulu11.48.21-ca-jdk11.0.11-win_x64" | |
| set "JAVA_OPTS=%JAVA_OPTS% -Duser.language=en -Dconsole.encoding=UTF-8 -Dfile.encoding=UTF-8 " |
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
| set "JAVA_HOME= JDK PATH " | |
| set "JAVA_OPTS=%JAVA_OPTS% -Duser.language=en -Dconsole.encoding=UTF-8 -Dfile.encoding=UTF-8 " |
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
| [Service] | |
| LimitNOFILE=49152 |
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
| <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> | |
| <property name="alwaysUseFullPath" value="true" /> | |
| <property name="order"> | |
| <util:constant static-field="org.springframework.core.Ordered.LOWEST_PRECEDENCE" /> | |
| </property> | |
| <property name="urlMap"> | |
| <map> | |
| <entry key="/resources/**"> | |
| <bean class="org.springframework.web.servlet.resource.ResourceHttpRequestHandler"> | |
| <property name="locations"> |
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
| [Unit] | |
| Description=Jenkins Agent | |
| Wants=syslog.target network.target | |
| After=syslog.target network.target | |
| [Service] | |
| ExecStart=java -server -jar /var/lib/jenkins/agent.jar -jnlpUrl https://${JENKINS_SERVER_URL}/computer/${JENKINS_NODE_NAME}/slave-agent.jnlp -secret ${JENKINS_NODE_SECRET} -workDir "/var/lib/jenkins/.agent" | |
| User=jenkins | |
| Group=jenkins | |
| Restart=always |
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
| allprojects { | |
| afterEvaluate { | |
| def versions = [ | |
| '1.6' : "/usr/lib/jvm/zulu-6-amd64/jre/lib/", | |
| '1.7' : "/usr/lib/jvm/zulu-7-amd64/jre/lib/", | |
| '1.8' : "/usr/lib/jvm/zulu-8-amd64/jre/lib/" | |
| ] | |
| // convert map to classpaths | |
| versions = versions.collectEntries { key, value -> |