Skip to content

Commit

Permalink
move scripts to util repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Nov 21, 2018
1 parent 72655b2 commit ead96c9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 33 deletions.
13 changes: 7 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ node('windows') {

checkout scm

/* stage 'Acquire util files'
stage 'Acquire util files'

sh 'mkdir -p tmp && mkdir -p bin'
powershell(returnStatus: true, script: 'New-Item -ItemType directory -Path ./tmp')
powershell(returnStatus: true, script: 'New-Item -ItemType directory -Path ./bin')
dir('tmp'){
git([ url: "https://github.internet2.edu/docker/util.git",
credentialsId: "jenkins-github-access-token" ])
sh 'mv ./bin/* ../bin/.'
powershell(returnStatus: true, script: 'Move-Item -Path ./bin/* -Destination ../bin/.')
}
sh 'rm -rf tmp'
*/
powershell(returnStatus: true, script: 'Remove-Item ./tmp -Force -Recurse')


stage 'Setting build context'

Expand All @@ -53,7 +54,7 @@ node('windows') {

stage 'Build'

def status = powershell(returnStatus: true, script: './rebuild.ps1 > ./debug')
def status = powershell(returnStatus: true, script: 'bin/windows/rebuild.ps1 > ./debug')
if (status == 0) {
echo "build success"
} else {
Expand Down
6 changes: 0 additions & 6 deletions build.ps1

This file was deleted.

16 changes: 0 additions & 16 deletions destroy.ps1

This file was deleted.

5 changes: 0 additions & 5 deletions rebuild.ps1

This file was deleted.

0 comments on commit ead96c9

Please sign in to comment.