forked from javahometech/my-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
javahometech
authored
Apr 25, 2018
1 parent
072975e
commit 2d498d2
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
node { | ||
// Accessing data from currentBuild objects | ||
|
||
echo "Current Build Absolute URL ${currentBuild.absoluteUrl}" | ||
echo "Current Build Result ${currentBuild.currentResult}" | ||
|
||
// Accessing data from env object | ||
|
||
echo "Jenkins Home ${env.JENKINS_HOME}" | ||
echo "Jenkins URL ${env.JENKINS_URL}" | ||
echo "JOB Name ${env.JOB_NAME}" | ||
|
||
} |