Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nrshrivatsan/99fe40883c4dbcfd810c7117ebf051cc to your computer and use it in GitHub Desktop.
Save nrshrivatsan/99fe40883c4dbcfd810c7117ebf051cc to your computer and use it in GitHub Desktop.
Marathon - Jenkins task. NOTE - Assumes jenkins war is downloaded into /usr/share/jenkins.war with read privledges
[
{
"id": "/jl2",
"cmd": "java -jar /usr/share/jenkins.war --httpPort=10002 ",
"cpus": 0.1,
"mem": 80,
"disk": 0,
"instances": 1,
"portDefinitions": [
{
"port": 10002,
"protocol": "tcp",
"labels": {}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment