Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
1f999e75
Unverified
Commit
1f999e75
authored
Aug 22, 2019
by
aslepko
Committed by
GitHub
Aug 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update jenkins-trigger.groovy
parent
ebc2ed3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
jenkins-trigger.groovy
.ci/jenkins/jenkins-trigger.groovy
+12
-13
No files found.
.ci/jenkins/jenkins-trigger.groovy
View file @
1f999e75
...
...
@@ -22,27 +22,25 @@
// original script -- we only need to provide this new trigger hook.
//
// Parameters which ngraph-unittest uses:
String
PR_URL
=
CHANGE_URL
String
PR_COMMIT_AUTHOR
=
CHANGE_AUTHOR
String
PR_TARGET
=
CHANGE_TARGET
String
PR_TITLE
=
CHANGE_TITLE
String
JENKINS_BRANCH
=
"aslepko/ci"
Integer
TIMEOUTTIME
=
"3600"
// BRANCH parameter is no loner needed
// TRIGGER_URL parameter is no longer needed
// Constants
JENKINS_DIR
=
'.'
env
.
MB_PIPELINE_CHECKOUT
=
true
timestamps
{
node
(
"trigger"
)
{
deleteDir
()
// Clear the workspace before starting
// Clone the cje-algo directory which contains our Jenkins groovy scripts
def
sleeptime
=
0
retry
(
count:
3
)
{
sleep
sleeptime
;
sleeptime
=
10
sh
"git clone -b $jenkinsBranch https://github.intel.com/AIPG/cje-algo"
}
try
{
sh
"git clone -b $JENKINS_BRANCH https://github.intel.com/AIPG/cje-algo ."
}
catch
(
e
)
{
...
...
@@ -61,10 +59,10 @@ timestamps {
def
ngraphCIPreMerge
=
load
(
"${JENKINS_DIR}/ngraph-ci-premerge.groovy"
)
ngraphCIPreMerge
(
premerge:
'true'
,
prURL:
PR
_URL
,
prTitle:
PR
_TITLE
,
prTarget:
PR
_TARGET
,
prAuthor:
PR_COMMIT
_AUTHOR
,
prURL:
CHANGE
_URL
,
prTitle:
CHANGE
_TITLE
,
prTarget:
CHANGE
_TARGET
,
prAuthor:
CHANGE
_AUTHOR
,
jenkinsBranch:
JENKINS_BRANCH
,
timeoutTime:
TIMEOUTTIME
,
useMBPipelineSCM:
'true'
,
...
...
@@ -74,6 +72,7 @@ timestamps {
echo
"ngraph-ci-premerge.groovy completed"
}
// End: node
}
// End: timestamps
echo
"Done"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment