Compare commits
No commits in common. "0abfc60fe9392c782b9c28d71392e1616acf90ee" and "cac2b8ace74f020aaf32d12df3786f75ac6864f1" have entirely different histories.
0abfc60fe9
...
cac2b8ace7
@ -26,6 +26,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"postCreateCommand": "bash -i -c 'conda init'"
|
"postCreateCommand": "bash conda init"
|
||||||
|
|
||||||
}
|
}
|
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -5,13 +5,11 @@ pipeline {
|
|||||||
defaultContainer 'conda'
|
defaultContainer 'conda'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
environment {
|
|
||||||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = "1"
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage("Install") {
|
stage("Install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda update conda -y -q'
|
sh 'conda update conda -y'
|
||||||
sh 'conda env update -n base --file environment.yml'
|
sh 'conda env update -n base --file environment.yml'
|
||||||
sh 'conda run -n base dotnet restore props.sln'
|
sh 'conda run -n base dotnet restore props.sln'
|
||||||
sh 'npm install --prefix ./Props'
|
sh 'npm install --prefix ./Props'
|
||||||
@ -47,9 +45,8 @@ pipeline {
|
|||||||
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-linux-x64 --runtime linux-x64 --self-contained Props'
|
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-linux-x64 --runtime linux-x64 --self-contained Props'
|
||||||
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-win-x64 --runtime win-x64 --self-contained Props'
|
sh 'conda run -n base dotnet publish --configuration Release --output output/props/props-win-x64 --runtime win-x64 --self-contained Props'
|
||||||
fingerprint 'output/props/**/Props*'
|
fingerprint 'output/props/**/Props*'
|
||||||
sh 'conda run -n base tar -czf output/props-linux-x64.tar.gz output/props/props-linux-x64'
|
tar file: "output/props-linux-x64.tar.gz", archive: true, compress: true, dir: "output/props/props-linux-x64"
|
||||||
sh 'conda run -n base zip -r output/props-win-x64.zip output/props/props-win-x64'
|
zip zipFile: "output/props-win-x64.zip", archive: true, dir: "output/props/props-win-x64"
|
||||||
archiveArtifacts artifacts: 'output/*.tar.gz,output/*.zip', followSymlinks: false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,4 @@ channels:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- dotnet-sdk=8
|
- dotnet-sdk=8
|
||||||
- nodejs=20
|
- nodejs=20
|
||||||
- icu
|
- icu
|
||||||
- tar
|
|
||||||
- zip
|
|
Loading…
x
Reference in New Issue
Block a user