Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56949601
jenkins.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
857 B
Referenced Files
None
Subscribers
None
jenkins.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# Nasqueron :: PaaS Docker :: Jenkins container wrapper
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/paas-docker/wrappers/files/jenkins.sh
# Usage: jenkins <container name> <command> [args]
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
CONTAINER_IP
=
$(
sudo
docker
inspect
-f
'{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}'
"
$1
"
)
shift
ssh
-l
"
$USER
"
-p
50022
"
$CONTAINER_IP
"
$*
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, Nov 13, 12:18 (1 w, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3945960
Default Alt Text
jenkins.sh (857 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment