#! /usr/bin/env groovy
pipeline {
agent any
stages {
stage('Build') {
steps {
script {
powershell '$env:Path'
powershell '$env:PYTHONPATH'
powershell '$env:PYTHONPATH = "../../dir" '
powershell '$env:PYTHONPATH'
The value for Path is printed, but nothing else.
The snippit generator gives me that syntax.
The other confusing thing is that I get the same result with and without
the PowerScript plugin. So don’t understand what the plugin is supposed to
be giving me.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/e62b09fe-9f08-4f5a-b050-a110966e7136%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.