On Tuesday, March 31, 2015 at 3:29:24 PM UTC-4, Rinaldo DiGiorgio wrote:
>
> Hi,
>
> I am evaluating the workflow plugin as a replacement for our current
> approach and have a few questions. I thought I would ask them individually
> and see how that goes before asking too many questions on the list. The
> first question is about using multiple scms. I am using git and hg and I
> have a for loop that retrieves all the source. I need to package that
> source up and put it into artifactory or nexus. I am able to perform the
> clones and pulls. Once the for loop is completed I attempt to run tar and
> I get an error message about the file save changed. An outline of the
> workflow script follows:
>
> * node('some node') {*
>
> * for ( iterate over all the repos )*
>
>
> * }*
>
>
> * sh tar cvf /tmp/somefile name*
>
> tar sees some files that are not in the repo. Is jenkins actually
> creating files in the workspace directory instead of some tmp directory.
>
> Is this the expected behavior?
>
> I can't simply ignore all .hidden files since the workspace may use them
> in some way. Is my only option to use a regex that assumes that there is a
> temporary hidden directory from Jenkins that is 8 digits of lowercase
> characters and digits.
>
> Rinaldo
>
I want to create a tar file and put that file in artifactory. When I try to
execute the tar command -- tar fails for the following reason.
./get_source.sh*./.5f048961/*
./.5f048961/script.sh
./.5f048961/jenkins-log.txt
tar: ./.5f048961/jenkins-log.txt: file changed as we read it
./.5f048961/pid
*Why is jenkins creating a log directory in the workspace? *
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/e6296ea5-3785-42fc-8e96-4448e755c545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.