Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mydir="/bamboo/artifacts"
- cd "$mydir"
- job="-JOB1"
- for dir in */
- do
- bambooplan=`echo $dir | sed 's//$//g'`$job
- echo $bambooplan
- done
- LERST-TSTREDAPIDB2WIN4-JOB1
- LERST-TSTREDAPIDB2WIN5-JOB1
- CA-TSTALLSQLWIN3-JOB1
- CE-CSW-JOB1
- CE-SNAP-JOB1
- echo $bambooplan > result.txt
- $bambooplan > result.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement