feat: test CI/CD vars
Test 3 vars of type :
- Visible
- Masked
- Masked_and_hidden
Create 3 var who contain the value to test whit a name type _VISIBLE_VALUE
Init JOB
If vars don't existe create it with API
if test -z "$VARS"; then
# Create vars with API
; fi
Test JOB
Test content of the 3 vars
if [[ $VISIBLE != "123456" ]]; then
echo "Var VISIBLE is Corupted" >> var_result.txt
fi
Edited by Placeholder Christophe Chaudier