Related
devops84uk I'm trying to pass a variable extracted in a stage in a Jenkinsfile between stages. E.g: stage('Dummy Stage') {
sh '''#!/bin/bash -l
export abc=`output of some command`
.....
.....
'''
Now, how do I pass the va
devops84uk I'm trying to pass a variable extracted in a stage in a Jenkinsfile between stages. E.g: stage('Dummy Stage') {
sh '''#!/bin/bash -l
export abc=`output of some command`
.....
.....
'''
Now, how do I pass the va
devops84uk I'm trying to pass a variable extracted in a stage in a Jenkinsfile between stages. E.g: stage('Dummy Stage') {
sh '''#!/bin/bash -l
export abc=`output of some command`
.....
.....
'''
Now, how do I pass the va
devops84uk I'm trying to pass a variable extracted in a stage in a Jenkinsfile between stages. E.g: stage('Dummy Stage') {
sh '''#!/bin/bash -l
export abc=`output of some command`
.....
.....
'''
Now, how do I pass the va
devops84uk I'm trying to pass a variable extracted in a stage in a Jenkinsfile between stages. E.g: stage('Dummy Stage') {
sh '''#!/bin/bash -l
export abc=`output of some command`
.....
.....
'''
Now, how do I pass the va
devops84uk I'm trying to pass a variable extracted in a stage in a Jenkinsfile between stages. E.g: stage('Dummy Stage') {
sh '''#!/bin/bash -l
export abc=`output of some command`
.....
.....
'''
Now, how do I pass the va
Joe: I would like to use a variable inside a Jenkinsfilescript and then pass its value to shell script execution (either as an environment variable or command line argument). But the following Jenkinsfile: for (i in [ 'a', 'b', 'c' ]) {
echo i
sh 'echo
Joe: I would like to use a variable inside a Jenkinsfilescript and then pass its value to shell script execution (either as an environment variable or command line argument). But the following Jenkinsfile: for (i in [ 'a', 'b', 'c' ]) {
echo i
sh 'echo
Rancik For example API A has this response and uses a Json extractor to get the value of "Location" {
"customer":[
{
"name": John,
"age": 21,
"location": USA,
},
{
"name": Jane,
"age": 32,
encoding_idiot I have tried various variations of the following code but none seem to work def runScript(command){
sh '''#!/bin/bash
file="env.txt"
while IFS='=' read -r key value
do
export ${key}="${value}"
done
encoding_idiot I have tried various variations of the following code but none seem to work def runScript(command){
sh '''#!/bin/bash
file="env.txt"
while IFS='=' read -r key value
do
export ${key}="${value}"
done
Data mastery: I am going to write a shell script to install various services dynamically. I don't know much about shell scripting or Unix shell in general, so I really need some help. Here is my shell file. #!/bin/bash
# Ask the user for their name
echo What i
Joey Cotter I'm trying to pass values retrieved from WebSphere to a Jython script invoked using wsadmin.sh to a variable in my invoker shell script. The caller shell script (getValue.sh) will have: #!/bin/sh
/opt/ibm/WebSphere/AppServerV70/bin/wsadmin.sh -lan
Lorenzo B. I'm running Fastlane (a continuous build tool for iOS) to execute a custom shell script for decrypting files. This is an order. sh "./decrypt.sh ENV['ENCRYPTION_P12']"
I can't figure out a way to pass environment variables to this script. Apparentl
Data mastery: I am going to write a shell script to install various services dynamically. I don't know much about shell scripting or Unix shell in general, so I really need some help. Here is my shell file. #!/bin/bash
# Ask the user for their name
echo What i
Joey Cotter I'm trying to pass values retrieved from WebSphere to a Jython script called using wsadmin.sh to a variable in my caller shell script. The caller shell script (getValue.sh) will have: #!/bin/sh
/opt/ibm/WebSphere/AppServerV70/bin/wsadmin.sh -lang
wolf 123 I'm new to this forum, so I apologize for any mistakes. I am trying to pass variables from my python code to a tcl script. The way I do it is: import os
import Tkinter
from Tkinter import *
def set_impairments(port,delay):
port=int(port)
del
Lorenzo B. I'm running Fastlane (a continuous build tool for iOS) to execute a custom shell script for decrypting files. This is an order. sh "./decrypt.sh ENV['ENCRYPTION_P12']"
I can't figure out a way to pass environment variables to this script. Apparentl
Joey Cotter I'm trying to pass values retrieved from WebSphere to a Jython script called using wsadmin.sh to a variable in my caller shell script. The caller shell script (getValue.sh) will have: #!/bin/sh
/opt/ibm/WebSphere/AppServerV70/bin/wsadmin.sh -lang
Lorenzo B. I'm running Fastlane (a continuous build tool for iOS) to execute a custom shell script for decrypting files. This is an order. sh "./decrypt.sh ENV['ENCRYPTION_P12']"
I can't figure out a way to pass environment variables to this script. Apparentl
Vahid Mirjalili I'm trying to run a shell command from awk for each line of a file that requires an input parameter. I tried to use system()but the input parameter is not recognized. Each line of this file is the address of a file that I want to run a command
Vahid Mirjalili I'm trying to run a shell command from awk for each line of a file that requires an input parameter. I tried to use system()but the input parameter is not recognized. Each line of this file is the address of a file that I want to run a command
Joey Cotter I'm trying to pass values retrieved from WebSphere to a Jython script called using wsadmin.sh to a variable in my caller shell script. The caller shell script (getValue.sh) will have: #!/bin/sh
/opt/ibm/WebSphere/AppServerV70/bin/wsadmin.sh -lang
call back I am trying to run a shell script from Java code. Currently, I am supplying the data manually in the script, but I would like to be able to supply the variables from the Java code running the script. Here is the Java code and script: public static vo
Amanda I want mutt( mutt-kz, actually - I'd love to migrate to, neomuttbut it's a bigger project) to get the SMTP password passso I don't have to store it in the config file in clear text, but I'm not sure how to correctly The password is passed to mine .muttr
Data mastery: I am going to write a shell script to install various services dynamically. I don't know much about shell scripting or Unix shell in general, so I really need some help. Here is my shell file. #!/bin/bash
# Ask the user for their name
echo What i
Data mastery: I am going to write a shell script to install various services dynamically. I don't know much about shell scripting or Unix shell in general, so I really need some help. Here is my shell file. #!/bin/bash
# Ask the user for their name
echo What i
Joey Cotter I'm trying to pass values retrieved from WebSphere to a Jython script called using wsadmin.sh to a variable in my caller shell script. The caller shell script (getValue.sh) will have: #!/bin/sh
/opt/ibm/WebSphere/AppServerV70/bin/wsadmin.sh -lang
Lorenzo B. I'm running Fastlane (a continuous build tool for iOS) to execute a custom shell script for decrypting files. This is an order. sh "./decrypt.sh ENV['ENCRYPTION_P12']"
I can't figure out a way to pass environment variables to this script. Apparentl