Last active
September 6, 2019 13:04
-
-
Save yershalom/05b72fcfaa98fe8ea260bf5c5aa8f159 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent { | |
node { | |
label 'master' | |
} | |
} | |
stages { | |
stage('android') { | |
steps { | |
echo 'android..' | |
} | |
} | |
stage('iOS') { | |
steps { | |
echo 'iOS..' | |
} | |
} | |
stage('publish') { | |
environment { | |
ACCESS_KEY = credentials('my-prefined-secret-text') | |
USER_PASS = credentials('USERPASS') | |
} | |
steps { | |
echo 'publish....' | |
echo "${env.ACCESS_KEY}" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment