IT-SDK-Jenkins

From wiki.samerhijazi.net
Revision as of 12:10, 20 March 2020 by Fiducia (talk | contribs)
Jump to navigation Jump to search

Source

Coding

def username = 'Jenkins'
echo 'Hello Mr. ${username}'
echo "I said, Hello Mr. ${username}"
...
Hello Mr. ${username}
I said, Hello Mr. Jenkins
environment {
	APP = "${env.APP}-${env.BRANCH_NAME}"
}
steps {
	sh 'echo "Name=${APP}"' 
        echo "Running ${APP} on ${env.APP}"
}